summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaducommands.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/gadu/gaducommands.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: