-rw-r--r-- | microkde/kresources/factory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/microkde/kresources/factory.cpp b/microkde/kresources/factory.cpp index 4e4456d..78e3b43 100644 --- a/microkde/kresources/factory.cpp +++ b/microkde/kresources/factory.cpp | |||
@@ -91,27 +91,28 @@ Factory::Factory( const QString& resourceFamily) : | |||
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 | QString libname = "microkabc_opie"; | 100 | QString libname = "microkabc_opie"; |
100 | QString path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | 101 | QString path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); |
101 | if ( !path.isEmpty() ) | 102 | if ( !path.isEmpty() ) |
102 | { | 103 | { |
103 | info = new PluginInfo; | 104 | info = new PluginInfo; |
104 | info->library = libname; | 105 | info->library = libname; |
105 | info->nameLabel = i18n( "opie" ); | 106 | info->nameLabel = i18n( "opie" ); |
106 | info->descriptionLabel = i18n( "Opie PIM Addressbook." ); | 107 | info->descriptionLabel = i18n( "Opie PIM Addressbook." ); |
107 | mTypeMap.insert( "opie", info ); | 108 | mTypeMap.insert( "opie", info ); |
108 | } | 109 | } |
109 | 110 | */ | |
110 | //US add qtopia plugin only, if the library exists. | 111 | //US add qtopia plugin only, if the library exists. |
111 | libname = "microkabc_qtopia"; | 112 | libname = "microkabc_qtopia"; |
112 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | 113 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); |
113 | if ( !path.isEmpty() ) | 114 | if ( !path.isEmpty() ) |
114 | { | 115 | { |
115 | info = new PluginInfo; | 116 | info = new PluginInfo; |
116 | info->library = libname; | 117 | info->library = libname; |
117 | info->nameLabel = i18n( "qtopia" ); | 118 | info->nameLabel = i18n( "qtopia" ); |