summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadudcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gadudcc.cpp')
-rw-r--r--kopete/protocols/gadu/gadudcc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/gadu/gadudcc.cpp b/kopete/protocols/gadu/gadudcc.cpp
index 4235d4e3..6e5b416a 100644
--- a/kopete/protocols/gadu/gadudcc.cpp
+++ b/kopete/protocols/gadu/gadudcc.cpp
@@ -50,8 +50,8 @@ static TQMutex initmutex;
typedef TQMap< unsigned int, GaduAccount* > gaduAccounts;
static gaduAccounts accounts;
-GaduDCC::GaduDCC( TQObject* parent, const char* name )
-:TQObject( parent, name )
+GaduDCC::GaduDCC( TQObject* tqparent, const char* name )
+:TQObject( tqparent, name )
{
}
@@ -78,7 +78,7 @@ GaduDCC::unregisterAccount( unsigned int id )
return false;
}
- if ( !accounts.contains( id ) ) {
+ if ( !accounts.tqcontains( id ) ) {
kdDebug(14100) << "attempt to unregister not registered account" << endl;
initmutex.unlock();
return false;
@@ -118,7 +118,7 @@ GaduDCC::registerAccount( GaduAccount* account )
aid = account->accountId().toInt();
- if ( accounts.contains( aid ) ) {
+ if ( accounts.tqcontains( aid ) ) {
kdDebug(14100) << "attempt to register already registered account" << endl;
initmutex.unlock();
return false;
@@ -168,7 +168,7 @@ GaduDCC::slotIncoming( gg_dcc* incoming, bool& handled )
GaduDCC::~GaduDCC()
{
- if ( accounts.contains( accountId ) ) {
+ if ( accounts.tqcontains( accountId ) ) {
kdDebug( 14100 ) << "unregister account " << accountId << " in destructor " << endl;
unregisterAccount( accountId );
}