author | ulf69 <ulf69> | 2004-07-16 23:25:52 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-16 23:25:52 (UTC) |
commit | e87df879ceaa743c95d2b48c291c3c35f8ed6b3f (patch) (unidiff) | |
tree | f144099674f805ca7775d6d8a4129871887869de /kaddressbook | |
parent | b78f5351ef7432aae4104ed306b52975c91eacb0 (diff) | |
download | kdepimpi-e87df879ceaa743c95d2b48c291c3c35f8ed6b3f.zip kdepimpi-e87df879ceaa743c95d2b48c291c3c35f8ed6b3f.tar.gz kdepimpi-e87df879ceaa743c95d2b48c291c3c35f8ed6b3f.tar.bz2 |
load the sharp dtm lib automatically if it exists
-rw-r--r-- | kaddressbook/xxportmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp index 4798ffe..2962951 100644 --- a/kaddressbook/xxportmanager.cpp +++ b/kaddressbook/xxportmanager.cpp | |||
@@ -210,6 +210,13 @@ void XXPortManager::loadPlugins() | |||
210 | factorylist.append(xxportFactory); | 210 | factorylist.append(xxportFactory); |
211 | } | 211 | } |
212 | 212 | ||
213 | //add the sharp import library dynamically | ||
214 | factory = KLibLoader::self()->factory( "microkaddrbk_sharpdtm_xxport" ); | ||
215 | if ( factory ) { | ||
216 | XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); | ||
217 | factorylist.append(xxportFactory); | ||
218 | } | ||
219 | |||
213 | QListIterator<XXPortFactory> it(factorylist); | 220 | QListIterator<XXPortFactory> it(factorylist); |
214 | for ( ; it.current(); ++it ) | 221 | for ( ; it.current(); ++it ) |
215 | { | 222 | { |