summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxportmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/xxportmanager.cpp')
-rw-r--r--kaddressbook/xxportmanager.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp
index 3382ac439..c46855c47 100644
--- a/kaddressbook/xxportmanager.cpp
+++ b/kaddressbook/xxportmanager.cpp
@@ -21,7 +21,7 @@
without including the source code for Qt in the source distribution.
*/
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kabc/addressbook.h>
#include <kabc/resource.h>
@@ -39,10 +39,10 @@
#include "xxportmanager.h"
KURL XXPortManager::importURL = KURL();
-QString XXPortManager::importData = QString::null;
+TQString XXPortManager::importData = TQString::null;
-XXPortManager::XXPortManager( KAB::Core *core, QObject *parent, const char *name )
- : QObject( parent, name ), mCore( core )
+XXPortManager::XXPortManager( KAB::Core *core, TQObject *parent, const char *name )
+ : TQObject( parent, name ), mCore( core )
{
loadPlugins();
}
@@ -66,14 +66,14 @@ void XXPortManager::importVCard( const KURL &url )
importURL = KURL();
}
-void XXPortManager::importVCardFromData( const QString &vCard )
+void XXPortManager::importVCardFromData( const TQString &vCard )
{
importData = vCard;
slotImport( "vcard", "<empty>" );
importData = "";
}
-void XXPortManager::slotImport( const QString &identifier, const QString &data )
+void XXPortManager::slotImport( const TQString &identifier, const TQString &data )
{
KAB::XXPort *obj = mXXPortObjects[ identifier ];
if ( !obj ) {
@@ -97,7 +97,7 @@ void XXPortManager::slotImport( const QString &identifier, const QString &data )
}
}
-void XXPortManager::slotExport( const QString &identifier, const QString &data )
+void XXPortManager::slotExport( const TQString &identifier, const TQString &data )
{
KAB::XXPort *obj = mXXPortObjects[ identifier ];
if ( !obj ) {
@@ -121,7 +121,7 @@ void XXPortManager::loadPlugins()
mXXPortObjects.clear();
const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/XXPort",
- QString( "[X-KDE-KAddressBook-XXPortPluginVersion] == %1" ).arg( KAB_XXPORT_PLUGIN_VERSION ) );
+ TQString( "[X-KDE-KAddressBook-XXPortPluginVersion] == %1" ).arg( KAB_XXPORT_PLUGIN_VERSION ) );
KTrader::OfferList::ConstIterator it;
for ( it = plugins.begin(); it != plugins.end(); ++it ) {
if ( !(*it)->hasServiceType( "KAddressBook/XXPort" ) )
@@ -146,10 +146,10 @@ void XXPortManager::loadPlugins()
mCore->guiClient()->insertChildClient( obj );
mXXPortObjects.insert( obj->identifier(), obj );
- connect( obj, SIGNAL( exportActivated( const QString&, const QString& ) ),
- this, SLOT( slotExport( const QString&, const QString& ) ) );
- connect( obj, SIGNAL( importActivated( const QString&, const QString& ) ),
- this, SLOT( slotImport( const QString&, const QString& ) ) );
+ connect( obj, TQT_SIGNAL( exportActivated( const TQString&, const TQString& ) ),
+ this, TQT_SLOT( slotExport( const TQString&, const TQString& ) ) );
+ connect( obj, TQT_SIGNAL( importActivated( const TQString&, const TQString& ) ),
+ this, TQT_SLOT( slotImport( const TQString&, const TQString& ) ) );
obj->setKApplication( kapp );
}