summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxportmanager.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/xxportmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxportmanager.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp
index 2962951..a6797c9 100644
--- a/kaddressbook/xxportmanager.cpp
+++ b/kaddressbook/xxportmanager.cpp
@@ -34,27 +34,30 @@ $Id$
#include <kabc/addressbook.h>
#include <kabc/resource.h>
#include <kdebug.h>
#include <kdialogbase.h>
#include <klocale.h>
#include <kmessagebox.h>
#ifndef KAB_EMBEDDED
#include <ktrader.h>
#else //KAB_EMBEDDED
extern "C"
{
- void* init_kaddrbk_csv_xxport();
- void* init_kaddrbk_kde2_xxport();
- void* init_kaddrbk_vcard_xxport();
+ void* init_microkaddrbk_csv_xxport();
+ void* init_microkaddrbk_kde2_xxport();
+ void* init_microkaddrbk_vcard_xxport();
+ void* init_microkaddrbk_opie_xxport();
+ void* init_microkaddrbk_qtopia_xxport();
+ void* init_microkaddrbk_sharpdtm_xxport();
}
#endif //KAB_EMBEDDED
#include <libkdepim/addresseeview.h>
#include "kabcore.h"
#include "undocmds.h"
#include "xxportselectdialog.h"
#include "xxportmanager.h"
KURL XXPortManager::importURL = KURL();
@@ -183,27 +186,27 @@ void XXPortManager::loadPlugins()
continue;
}
XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory );
if ( !xxportFactory ) {
kdDebug(5720) << "XXPortManager::loadExtensions(): Cast failed" << endl;
continue;
}
#else //KAB_EMBEDDED
QList<XXPortFactory> factorylist;
- factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_csv_xxport()));
- factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_kde2_xxport()));
- factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_vcard_xxport()));
+ factorylist.append(static_cast<XXPortFactory*>(init_microkaddrbk_csv_xxport()));
+ factorylist.append(static_cast<XXPortFactory*>(init_microkaddrbk_kde2_xxport()));
+ factorylist.append(static_cast<XXPortFactory*>(init_microkaddrbk_vcard_xxport()));
//add the opie import library dynamically
KLibFactory *factory = KLibLoader::self()->factory( "microkaddrbk_opie_xxport" );
if ( factory ) {
XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory );
factorylist.append(xxportFactory);
}
//add the qtopia import library dynamically
factory = KLibLoader::self()->factory( "microkaddrbk_qtopia_xxport" );
if ( factory ) {
XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory );