summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaducommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gaducommands.h')
-rw-r--r--kopete/protocols/gadu/gaducommands.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/gadu/gaducommands.h b/kopete/protocols/gadu/gaducommands.h
index 7253734e..2c56ba8a 100644
--- a/kopete/protocols/gadu/gaducommands.h
+++ b/kopete/protocols/gadu/gaducommands.h
@@ -29,7 +29,7 @@
#include <libgadu.h>
-#include <qobject.h>
+#include <tqobject.h>
class QSocketNotifier;
class QStringList;
@@ -40,7 +40,7 @@ class GaduCommand : public QObject
Q_OBJECT
public:
- GaduCommand( QObject* parent = 0, const char* name = 0 );
+ GaduCommand( TQObject* parent = 0, const char* name = 0 );
virtual ~GaduCommand();
virtual void execute() = 0;
@@ -49,10 +49,10 @@ public:
signals:
//e.g. emit done( i18n("Done"), i18n("Registration complete") );
- void done( const QString& title, const QString& what );
- void error( const QString& title, const QString& error );
+ void done( const TQString& title, const TQString& what );
+ void error( const TQString& title, const TQString& error );
void socketReady();
- void operationStatus( const QString );
+ void operationStatus( const TQString );
protected:
void checkSocket( int, int );
@@ -66,8 +66,8 @@ protected slots:
void forwarder();
private:
- QSocketNotifier* read_;
- QSocketNotifier* write_;
+ TQSocketNotifier* read_;
+ TQSocketNotifier* write_;
};
class RegisterCommand : public GaduCommand
@@ -75,19 +75,19 @@ class RegisterCommand : public GaduCommand
Q_OBJECT
public:
- RegisterCommand( QObject* parent = 0, const char* name = 0 );
- RegisterCommand( const QString& email, const QString& password ,
- QObject* parent = 0, const char* name = 0 );
+ RegisterCommand( TQObject* parent = 0, const char* name = 0 );
+ RegisterCommand( const TQString& email, const TQString& password ,
+ TQObject* parent = 0, const char* name = 0 );
~RegisterCommand();
- void setUserinfo( const QString& email, const QString& password, const QString& token );
+ void setUserinfo( const TQString& email, const TQString& password, const TQString& token );
void execute();
unsigned int newUin();
void requestToken();
void cancel();
signals:
- void tokenRecieved( QPixmap, QString );
+ void tokenRecieved( TQPixmap, TQString );
protected slots:
void watcher();
@@ -108,8 +108,8 @@ class RemindPasswordCommand : public GaduCommand
Q_OBJECT
public:
- RemindPasswordCommand( uin_t uin, QObject* parent = 0, const char* name = 0 );
- RemindPasswordCommand( QObject* parent = 0, const char* name = 0 );
+ RemindPasswordCommand( uin_t uin, TQObject* parent = 0, const char* name = 0 );
+ RemindPasswordCommand( TQObject* parent = 0, const char* name = 0 );
~RemindPasswordCommand();
void setUIN( uin_t );
@@ -128,11 +128,11 @@ class ChangePasswordCommand : public GaduCommand
Q_OBJECT
public:
- ChangePasswordCommand( QObject* parent = 0, const char* name = 0 );
+ ChangePasswordCommand( TQObject* parent = 0, const char* name = 0 );
~ChangePasswordCommand();
- void setInfo( uin_t uin, const QString& passwd, const QString& newpasswd,
- const QString& newemail );
+ void setInfo( uin_t uin, const TQString& passwd, const TQString& newpasswd,
+ const TQString& newemail );
void execute();
protected slots: