summaryrefslogtreecommitdiffstats
path: root/kaddressbook/interfaces/xxport.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/interfaces/xxport.h')
-rw-r--r--kaddressbook/interfaces/xxport.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kaddressbook/interfaces/xxport.h b/kaddressbook/interfaces/xxport.h
index 098688b9..29b54acc 100644
--- a/kaddressbook/interfaces/xxport.h
+++ b/kaddressbook/interfaces/xxport.h
@@ -24,7 +24,7 @@
#ifndef KAB_XXPORT_H
#define KAB_XXPORT_H
-#include <qobject.h>
+#include <tqobject.h>
#include <kabc/addressbook.h>
#include <kabc/addresseelist.h>
@@ -45,7 +45,7 @@ class KApplication;
*/
#define K_EXPORT_KADDRESSBOOK_XXFILTER_CATALOG( libname, XXPortClass, catalog ) \
class KDE_NO_EXPORT localXXPortFactory : public KAB::XXPortFactory { \
- KAB::XXPort *xxportObject( KABC::AddressBook *ab, QWidget *parent, const char *name ) \
+ KAB::XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *parent, const char *name ) \
{ const char *cat = catalog; \
if (cat) KGlobal::locale()->insertCatalogue(cat); \
return new XXPortClass( ab, parent, name ); \
@@ -65,19 +65,19 @@ class KApplication;
namespace KAB {
-class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
+class KDE_EXPORT XXPort : public TQObject, virtual public KXMLGUIClient
{
Q_OBJECT
public:
- XXPort( KABC::AddressBook *ab, QWidget *parent, const char *name = 0 );
+ XXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~XXPort();
/**
Returns the unique identifier of this xxport modul, it should
be the lowercase name of the import/export format e.g. 'vcard'
*/
- virtual QString identifier() const = 0;
+ virtual TQString identifier() const = 0;
/**
Reimplement this method if the XXPortManager shall
@@ -95,7 +95,7 @@ class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
Processes outstanding KApplication events. It should be called
occasionally when the import/export filter is busy performing
a long operation (e.g. reading from slow external devices).
- @see: QApplication::processEvents()
+ @see: TQApplication::processEvents()
*/
void processEvents() const;
@@ -103,12 +103,12 @@ class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
/**
Reimplement this method for exporting the contacts.
*/
- virtual bool exportContacts( const KABC::AddresseeList &list, const QString& identifier );
+ virtual bool exportContacts( const KABC::AddresseeList &list, const TQString& identifier );
/**
Reimplement this method for importing the contacts.
*/
- virtual KABC::AddresseeList importContacts( const QString& identifier ) const;
+ virtual KABC::AddresseeList importContacts( const TQString& identifier ) const;
signals:
/**
@@ -116,25 +116,25 @@ class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
The parameter contains the @ref identifier() for
unique identification.
*/
- void exportActivated( const QString&, const QString& );
+ void exportActivated( const TQString&, const TQString& );
/**
Emitted whenever the import action is activated.
The parameter contains the @ref identifier() for
unique identification.
*/
- void importActivated( const QString&, const QString& );
+ void importActivated( const TQString&, const TQString& );
protected:
/**
Create the import action. The identifier is passed in the import slot.
*/
- void createImportAction( const QString &label, const QString &identifier = QString::null );
+ void createImportAction( const TQString &label, const TQString &identifier = TQString::null );
/**
Create the export action. The identifier is passed in the export slot.
*/
- void createExportAction( const QString &label, const QString &identifier = QString::null );
+ void createExportAction( const TQString &label, const TQString &identifier = TQString::null );
/**
Returns a pointer to the address book object.
@@ -145,15 +145,15 @@ class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
Returns a pointer to the parent widget. It can be used as parent for
message boxes.
*/
- QWidget *parentWidget() const;
+ TQWidget *parentWidget() const;
private slots:
- void slotImportActivated( const QString& );
- void slotExportActivated( const QString& );
+ void slotImportActivated( const TQString& );
+ void slotExportActivated( const TQString& );
private:
KABC::AddressBook *mAddressBook;
- QWidget *mParentWidget;
+ TQWidget *mParentWidget;
class XXPortPrivate;
XXPortPrivate *d;
@@ -162,12 +162,12 @@ class KDE_EXPORT XXPort : public QObject, virtual public KXMLGUIClient
class XXPortFactory : public KLibFactory
{
public:
- virtual XXPort *xxportObject( KABC::AddressBook *ab, QWidget *parent,
+ virtual XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 ) = 0;
protected:
- virtual QObject* createObject( QObject*, const char*, const char*,
- const QStringList & )
+ virtual TQObject* createObject( TQObject*, const char*, const char*,
+ const TQStringList & )
{
return 0;
}