summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-10-27 08:51:22 (UTC)
committer zautrix <zautrix>2005-10-27 08:51:22 (UTC)
commiteb83d8b5542de9ca0c421ad6aca2913b502bbe78 (patch) (unidiff)
tree44827c23c1d72591d569ffa277feb75480041443
parentff68b29b914fc3fbc3aa777d3e3ceeb8a64ecc09 (diff)
downloadkdepimpi-eb83d8b5542de9ca0c421ad6aca2913b502bbe78.zip
kdepimpi-eb83d8b5542de9ca0c421ad6aca2913b502bbe78.tar.gz
kdepimpi-eb83d8b5542de9ca0c421ad6aca2913b502bbe78.tar.bz2
abc
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kresources/factory.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/microkde/kresources/factory.cpp b/microkde/kresources/factory.cpp
index 5fbfa68..4843ce0 100644
--- a/microkde/kresources/factory.cpp
+++ b/microkde/kresources/factory.cpp
@@ -133,16 +133,29 @@ Factory::Factory( const QString& resourceFamily) :
133 info = new PluginInfo; 133 info = new PluginInfo;
134 info->library = libname; 134 info->library = libname;
135 info->nameLabel = i18n( "sharp" ); 135 info->nameLabel = i18n( "sharp" );
136 info->descriptionLabel = i18n( "Sharp DTM Addressbook." ); 136 info->descriptionLabel = i18n( "Sharp DTM Addressbook." );
137 mTypeMap.insert( "sharp", info ); 137 mTypeMap.insert( "sharp", info );
138 } 138 }
139 139
140 140
141 //LR add ol plugin only, if the library exists.
142 libname = "microkabc_olaccess";
143 path = KLibLoader::findLibrary( QFile::encodeName( libname ) );
144 if ( !path.isEmpty() )
145 {
146 info = new PluginInfo;
147 info->library = libname;
148 info->nameLabel = i18n( "sharp" );
149 info->descriptionLabel = i18n( "Outlook Addressbook." );
150 mTypeMap.insert( "olaccess", info );
151 }
152
153
141} 154}
142 155
143Factory::~Factory() 156Factory::~Factory()
144{ 157{
145} 158}
146 159
147QStringList Factory::typeNames() const 160QStringList Factory::typeNames() const
148{ 161{