diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/gadu/gaducommands.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/gadu/gaducommands.cpp')
-rw-r--r-- | kopete/protocols/gadu/gaducommands.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/gadu/gaducommands.cpp b/kopete/protocols/gadu/gaducommands.cpp index 2be539c0..8f45f94c 100644 --- a/kopete/protocols/gadu/gaducommands.cpp +++ b/kopete/protocols/gadu/gaducommands.cpp @@ -37,14 +37,14 @@ #include <errno.h> -GaduCommand::GaduCommand( TQObject* parent, const char* name ) -: TQObject( parent, name ), read_( 0 ), write_( 0 ) +GaduCommand::GaduCommand( TQObject* tqparent, const char* name ) +: TQObject( tqparent, name ), read_( 0 ), write_( 0 ) { } GaduCommand::~GaduCommand() { - //QSocketNotifiers are children and will + //TQSocketNotifiers are tqchildren and will //be deleted anyhow } @@ -114,13 +114,13 @@ GaduCommand::forwarder() emit socketReady(); } -RegisterCommand::RegisterCommand( TQObject* parent, const char* name ) -:GaduCommand( parent, name ), state( RegisterStateNoToken ), session_( 0 ), uin( 0 ) +RegisterCommand::RegisterCommand( TQObject* tqparent, const char* name ) +:GaduCommand( tqparent, name ), state( RegisterStateNoToken ), session_( 0 ), uin( 0 ) { } -RegisterCommand::RegisterCommand( const TQString& email, const TQString& password, TQObject* parent, const char* name ) -:GaduCommand( parent, name ), state( RegisterStateNoToken ), email_( email ), password_( password ), session_( 0 ), uin( 0 ) +RegisterCommand::RegisterCommand( const TQString& email, const TQString& password, TQObject* tqparent, const char* name ) +:GaduCommand( tqparent, name ), state( RegisterStateNoToken ), email_( email ), password_( password ), session_( 0 ), uin( 0 ) { } @@ -204,7 +204,7 @@ void RegisterCommand::watcher() } pubDir = (struct gg_pubdir *)session_->data; - emit operationStatus( i18n( "Token retrieving status: %1" ).arg( GaduSession::stateDescription( session_->state ) ) ); + emit operationtqStatus( i18n( "Token retrieving status: %1" ).tqarg( GaduSession::stateDescription( session_->state ) ) ); switch ( session_->state ) { case GG_STATE_CONNECTING: kdDebug( 14100 ) << "Recreating notifiers " << endl; @@ -254,7 +254,7 @@ void RegisterCommand::watcher() return; } pubDir = (gg_pubdir*) session_->data; - emit operationStatus( i18n( "Registration status: %1" ).arg( GaduSession::stateDescription( session_->state ) ) ); + emit operationtqStatus( i18n( "Registration status: %1" ).tqarg( GaduSession::stateDescription( session_->state ) ) ); switch ( session_->state ) { case GG_STATE_CONNECTING: kdDebug( 14100 ) << "Recreating notifiers " << endl; @@ -293,13 +293,13 @@ void RegisterCommand::watcher() } } -RemindPasswordCommand::RemindPasswordCommand( TQObject* parent, const char* name ) -: GaduCommand( parent, name ), uin_( 0 ), session_( 0 ) +RemindPasswordCommand::RemindPasswordCommand( TQObject* tqparent, const char* name ) +: GaduCommand( tqparent, name ), uin_( 0 ), session_( 0 ) { } -RemindPasswordCommand::RemindPasswordCommand( uin_t uin, TQObject* parent, const char* name ) -: GaduCommand( parent, name ), uin_( uin ), session_( 0 ) +RemindPasswordCommand::RemindPasswordCommand( uin_t uin, TQObject* tqparent, const char* name ) +: GaduCommand( tqparent, name ), uin_( uin ), session_( 0 ) { } @@ -351,8 +351,8 @@ RemindPasswordCommand::watcher() enableNotifiers( session_->check ); } -ChangePasswordCommand::ChangePasswordCommand( TQObject* parent, const char* name ) -: GaduCommand( parent, name ), session_( 0 ) +ChangePasswordCommand::ChangePasswordCommand( TQObject* tqparent, const char* name ) +: GaduCommand( tqparent, name ), session_( 0 ) { } |