diff options
Diffstat (limited to 'libkdegames/kgame/kgame.cpp')
-rw-r--r-- | libkdegames/kgame/kgame.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdegames/kgame/kgame.cpp b/libkdegames/kgame/kgame.cpp index 42a21580..6965ebcf 100644 --- a/libkdegames/kgame/kgame.cpp +++ b/libkdegames/kgame/kgame.cpp @@ -1093,7 +1093,7 @@ void KGame::setupGameContinue(TQDataStream& stream, TQ_UINT32 sender) for ( player=newPlayerList.first(); player != 0; player=newPlayerList.next() ) { // Already in the list - if (inactivateIds.tqfind(player->id())!=inactivateIds.end()) + if (inactivateIds.find(player->id())!=inactivateIds.end()) { continue; } @@ -1109,7 +1109,7 @@ void KGame::setupGameContinue(TQDataStream& stream, TQ_UINT32 sender) for ( player=d->mPlayerList.first(); player != 0; player=d->mPlayerList.next() ) { // Already in the list - if (inactivateIds.tqfind(player->id())!=inactivateIds.end()) + if (inactivateIds.find(player->id())!=inactivateIds.end()) { continue; } @@ -1171,9 +1171,9 @@ void KGame::setupGameContinue(TQDataStream& stream, TQ_UINT32 sender) // Now send out the player list which the client can activate for ( player=newPlayerList.first(); player != 0; player=newPlayerList.next() ) { - kdDebug(11001) << " newplayerlist tqcontains " << player->id() << endl; + kdDebug(11001) << " newplayerlist contains " << player->id() << endl; // Only activate what is not in the list - if (inactivateIds.tqfind(player->id())!=inactivateIds.end()) + if (inactivateIds.find(player->id())!=inactivateIds.end()) { continue; } @@ -1443,7 +1443,7 @@ void KGame::emitSignal(KGamePropertyBase *me) } KGamePropertyBase* KGame::findProperty(int id) const -{ return d->mProperties->tqfind(id); } +{ return d->mProperties->find(id); } KGame::GamePolicy KGame::policy() const { |