summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadudcc.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/gadu/gadudcc.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-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/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 );
}