author | ulf69 <ulf69> | 2004-10-22 22:43:16 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-22 22:43:16 (UTC) |
commit | 1d8ed9298d8c201184d0a941f0d45e7f42201fd4 (patch) (unidiff) | |
tree | cb74dda886a88cbc108219fd4a0888420efd3fd3 | |
parent | f6e3009e73281495775542ad62371edd8c43c986 (diff) | |
download | kdepimpi-1d8ed9298d8c201184d0a941f0d45e7f42201fd4.zip kdepimpi-1d8ed9298d8c201184d0a941f0d45e7f42201fd4.tar.gz kdepimpi-1d8ed9298d8c201184d0a941f0d45e7f42201fd4.tar.bz2 |
fixed builderror
-rw-r--r-- | microkde/kresources/factory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/microkde/kresources/factory.cpp b/microkde/kresources/factory.cpp index 78e3b43..3d1889f 100644 --- a/microkde/kresources/factory.cpp +++ b/microkde/kresources/factory.cpp | |||
@@ -88,50 +88,50 @@ Factory::Factory( const QString& resourceFamily) : | |||
88 | info->nameLabel = i18n( "dir" ); | 88 | info->nameLabel = i18n( "dir" ); |
89 | info->descriptionLabel = i18n( "Choose a directory with may files" ); | 89 | info->descriptionLabel = i18n( "Choose a directory with may files" ); |
90 | mTypeMap.insert( "dir", info ); | 90 | mTypeMap.insert( "dir", info ); |
91 | 91 | ||
92 | info = new PluginInfo; | 92 | info = new PluginInfo; |
93 | info->library = "microkabc_ldap"; | 93 | info->library = "microkabc_ldap"; |
94 | info->nameLabel = i18n( "ldap" ); | 94 | info->nameLabel = i18n( "ldap" ); |
95 | info->descriptionLabel = i18n( "No description available" ); | 95 | info->descriptionLabel = i18n( "No description available" ); |
96 | mTypeMap.insert( "ldap", info ); | 96 | mTypeMap.insert( "ldap", info ); |
97 | 97 | ||
98 | //US add opie plugin only, if the library exists. | 98 | //US add opie plugin only, if the library exists. |
99 | /*US | 99 | /*US |
100 | QString libname = "microkabc_opie"; | 100 | QString libname = "microkabc_opie"; |
101 | QString path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | 101 | QString path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); |
102 | if ( !path.isEmpty() ) | 102 | if ( !path.isEmpty() ) |
103 | { | 103 | { |
104 | info = new PluginInfo; | 104 | info = new PluginInfo; |
105 | info->library = libname; | 105 | info->library = libname; |
106 | info->nameLabel = i18n( "opie" ); | 106 | info->nameLabel = i18n( "opie" ); |
107 | info->descriptionLabel = i18n( "Opie PIM Addressbook." ); | 107 | info->descriptionLabel = i18n( "Opie PIM Addressbook." ); |
108 | mTypeMap.insert( "opie", info ); | 108 | mTypeMap.insert( "opie", info ); |
109 | } | 109 | } |
110 | */ | 110 | */ |
111 | //US add qtopia plugin only, if the library exists. | 111 | //US add qtopia plugin only, if the library exists. |
112 | libname = "microkabc_qtopia"; | 112 | QString libname = "microkabc_qtopia"; |
113 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | 113 | QString path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); |
114 | if ( !path.isEmpty() ) | 114 | if ( !path.isEmpty() ) |
115 | { | 115 | { |
116 | info = new PluginInfo; | 116 | info = new PluginInfo; |
117 | info->library = libname; | 117 | info->library = libname; |
118 | info->nameLabel = i18n( "qtopia" ); | 118 | info->nameLabel = i18n( "qtopia" ); |
119 | info->descriptionLabel = i18n( "Qtopia PIM Addressbook." ); | 119 | info->descriptionLabel = i18n( "Qtopia PIM Addressbook." ); |
120 | mTypeMap.insert( "qtopia", info ); | 120 | mTypeMap.insert( "qtopia", info ); |
121 | } | 121 | } |
122 | 122 | ||
123 | //US add sharp plugin only, if the library exists. | 123 | //US add sharp plugin only, if the library exists. |
124 | libname = "microkabc_sharpdtm"; | 124 | libname = "microkabc_sharpdtm"; |
125 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | 125 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); |
126 | if ( !path.isEmpty() ) | 126 | if ( !path.isEmpty() ) |
127 | { | 127 | { |
128 | info = new PluginInfo; | 128 | info = new PluginInfo; |
129 | info->library = libname; | 129 | info->library = libname; |
130 | info->nameLabel = i18n( "sharp" ); | 130 | info->nameLabel = i18n( "sharp" ); |
131 | info->descriptionLabel = i18n( "Sharp DTM Addressbook." ); | 131 | info->descriptionLabel = i18n( "Sharp DTM Addressbook." ); |
132 | mTypeMap.insert( "sharp", info ); | 132 | mTypeMap.insert( "sharp", info ); |
133 | } | 133 | } |
134 | 134 | ||
135 | 135 | ||
136 | } | 136 | } |
137 | 137 | ||