summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxportmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/xxportmanager.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 );
}