summaryrefslogtreecommitdiffstats
path: root/kaddressbook/interfaces/xxport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/interfaces/xxport.cpp')
-rw-r--r--kaddressbook/interfaces/xxport.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/kaddressbook/interfaces/xxport.cpp b/kaddressbook/interfaces/xxport.cpp
index 0e9e515c2..53be55197 100644
--- a/kaddressbook/interfaces/xxport.cpp
+++ b/kaddressbook/interfaces/xxport.cpp
@@ -21,8 +21,8 @@
without including the source code for Qt in the source distribution.
*/
-#include <qmap.h>
-#include <qsignalmapper.h>
+#include <tqmap.h>
+#include <tqsignalmapper.h>
#include <kaction.h>
#include <kinstance.h>
@@ -35,25 +35,25 @@ using namespace KAB;
class XXPort::XXPortPrivate
{
public:
- QSignalMapper *mExportMapper;
- QSignalMapper *mImportMapper;
+ TQSignalMapper *mExportMapper;
+ TQSignalMapper *mImportMapper;
KApplication *mKApp;
};
-XXPort::XXPort( KABC::AddressBook *ab, QWidget *parent,
+XXPort::XXPort( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
- : QObject( parent, name ), mAddressBook( ab ), mParentWidget( parent ),
+ : TQObject( parent, name ), mAddressBook( ab ), mParentWidget( parent ),
d( new XXPortPrivate )
{
setInstance( new KInstance( "kaddressbook" ) );
- d->mExportMapper = new QSignalMapper( this );
- d->mImportMapper = new QSignalMapper( this );
+ d->mExportMapper = new TQSignalMapper( this );
+ d->mImportMapper = new TQSignalMapper( this );
- connect( d->mExportMapper, SIGNAL( mapped( const QString& ) ),
- SLOT( slotExportActivated( const QString& ) ) );
- connect( d->mImportMapper, SIGNAL( mapped( const QString& ) ),
- SLOT( slotImportActivated( const QString& ) ) );
+ connect( d->mExportMapper, TQT_SIGNAL( mapped( const TQString& ) ),
+ TQT_SLOT( slotExportActivated( const TQString& ) ) );
+ connect( d->mImportMapper, TQT_SIGNAL( mapped( const TQString& ) ),
+ TQT_SLOT( slotImportActivated( const TQString& ) ) );
}
XXPort::~XXPort()
@@ -62,34 +62,34 @@ XXPort::~XXPort()
d = 0;
}
-bool XXPort::exportContacts( const KABC::AddresseeList&, const QString& )
+bool XXPort::exportContacts( const KABC::AddresseeList&, const TQString& )
{
// do nothing
return false;
}
-KABC::AddresseeList XXPort::importContacts( const QString& ) const
+KABC::AddresseeList XXPort::importContacts( const TQString& ) const
{
// do nothing
return KABC::AddresseeList();
}
-void XXPort::createImportAction( const QString &label, const QString &data )
+void XXPort::createImportAction( const TQString &label, const TQString &data )
{
- QString id = "file_import_" + identifier() + ( data.isEmpty() ? QString( "" ) : "_" + data );
- KAction *action = new KAction( label, 0, d->mImportMapper, SLOT( map() ), actionCollection(), id.latin1() );
+ TQString id = "file_import_" + identifier() + ( data.isEmpty() ? TQString( "" ) : "_" + data );
+ KAction *action = new KAction( label, 0, d->mImportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
- d->mImportMapper->setMapping( action, ( data.isEmpty() ? QString( "<empty>" ) : data ) );
+ d->mImportMapper->setMapping( action, ( data.isEmpty() ? TQString( "<empty>" ) : data ) );
setXMLFile( identifier() + "_xxportui.rc" );
}
-void XXPort::createExportAction( const QString &label, const QString &data )
+void XXPort::createExportAction( const TQString &label, const TQString &data )
{
- QString id = "file_export_" + identifier() + ( data.isEmpty() ? QString( "" ) : "_" + data );
- KAction *action = new KAction( label, 0, d->mExportMapper, SLOT( map() ), actionCollection(), id.latin1() );
+ TQString id = "file_export_" + identifier() + ( data.isEmpty() ? TQString( "" ) : "_" + data );
+ KAction *action = new KAction( label, 0, d->mExportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
- d->mExportMapper->setMapping( action, ( data.isEmpty() ? QString( "<empty>" ) : data ) );
+ d->mExportMapper->setMapping( action, ( data.isEmpty() ? TQString( "<empty>" ) : data ) );
setXMLFile( identifier() + "_xxportui.rc" );
}
@@ -99,7 +99,7 @@ KABC::AddressBook *XXPort::addressBook() const
return mAddressBook;
}
-QWidget *XXPort::parentWidget() const
+TQWidget *XXPort::parentWidget() const
{
return mParentWidget;
}
@@ -115,14 +115,14 @@ void XXPort::processEvents() const
d->mKApp->processEvents();
}
-void XXPort::slotExportActivated( const QString &data )
+void XXPort::slotExportActivated( const TQString &data )
{
- emit exportActivated( identifier(), ( data == "<empty>" ? QString::null : data ) );
+ emit exportActivated( identifier(), ( data == "<empty>" ? TQString::null : data ) );
}
-void XXPort::slotImportActivated( const QString &data )
+void XXPort::slotImportActivated( const TQString &data )
{
- emit importActivated( identifier(), ( data == "<empty>" ? QString::null : data ) );
+ emit importActivated( identifier(), ( data == "<empty>" ? TQString::null : data ) );
}
#include "xxport.moc"