diff options
Diffstat (limited to 'kopete/protocols')
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/oscar/liboscar/client.cpp | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp index 57dca0c0..44b10bbc 100644 --- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp +++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp @@ -37,7 +37,7 @@ MeanwhileAddContactPage::MeanwhileAddContactPage( static_cast<MeanwhileAccount *>(_account); if (account->infoPlugin->canProvideMeanwhileId()) { - TQT_BASE_OBJECT_NAME::connect(theDialog->btnFindUser, TQT_SIGNAL(clicked()), + TQObject::connect(theDialog->btnFindUser, TQT_SIGNAL(clicked()), TQT_SLOT(slotFindUser())); } else diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp index 77955782..4e2c90ee 100644 --- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp +++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp @@ -106,7 +106,7 @@ MeanwhileEditAccountWidget::MeanwhileEditAccountWidget( slotSetServer2Default(); } - TQT_BASE_OBJECT_NAME::connect(btnServerDefaults, TQT_SIGNAL(clicked()), + TQObject::connect(btnServerDefaults, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetServer2Default())); show(); diff --git a/kopete/protocols/oscar/liboscar/client.cpp b/kopete/protocols/oscar/liboscar/client.cpp index a500028a..10fec375 100644 --- a/kopete/protocols/oscar/liboscar/client.cpp +++ b/kopete/protocols/oscar/liboscar/client.cpp @@ -1127,8 +1127,7 @@ void Client::requestServerRedirect( WORD family, WORD exchange, void Client::haveServerForRedirect( const TQString& host, const TQByteArray& cookie, WORD ) { //nasty sender() usage to get the task with chat room info - TQObject* o = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() )); - ServerRedirectTask* srt = dynamic_cast<ServerRedirectTask*>( o ); + ServerRedirectTask* srt = dynamic_cast<ServerRedirectTask*>( const_cast<TQObject*>(sender()) ); //create a new connection and set it up int colonPos = host.find(':'); @@ -1248,8 +1247,7 @@ void Client::determineDisconnection( int code, const TQString& string ) return; //yay for the sender() hack! - TQObject* obj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() )); - Connection* c = dynamic_cast<Connection*>( obj ); + Connection* c = dynamic_cast<Connection*>( const_cast<TQObject*>(sender()) ); if ( !c ) return; |