-rw-r--r-- | kaddressbook/xxportmanager.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp index 248fcab..4798ffe 100644 --- a/kaddressbook/xxportmanager.cpp +++ b/kaddressbook/xxportmanager.cpp @@ -198,3 +198,3 @@ void XXPortManager::loadPlugins() - //now add the opie import library dynamically + //add the opie import library dynamically KLibFactory *factory = KLibLoader::self()->factory( "microkaddrbk_opie_xxport" ); @@ -205,2 +205,9 @@ void XXPortManager::loadPlugins() + //add the qtopia import library dynamically + factory = KLibLoader::self()->factory( "microkaddrbk_qtopia_xxport" ); + if ( factory ) { + XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); + factorylist.append(xxportFactory); + } + QListIterator<XXPortFactory> it(factorylist); @@ -221,3 +228,2 @@ void XXPortManager::loadPlugins() } - } |