From 24c5cdc2737fe0044b11a12359606973eb93fc0b Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libksirtet/base/gtetris.h | 2 +- libksirtet/lib/keys.cpp | 2 +- libksirtet/lib/meeting.cpp | 2 +- libksirtet/lib/smanager.cpp | 2 +- libksirtet/lib/smanager.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libksirtet') diff --git a/libksirtet/base/gtetris.h b/libksirtet/base/gtetris.h index 1546741d..b0f990b9 100644 --- a/libksirtet/base/gtetris.h +++ b/libksirtet/base/gtetris.h @@ -81,7 +81,7 @@ ** ** Do whatever you want with this code (i.e. the files gtetris.h, ** gtetris.cpp, tpiece.h and tpiece.cpp). It is basically a weekend hack -** and it would bring joy to my heart if anyone in any way would tqfind +** and it would bring joy to my heart if anyone in any way would find ** it useful. ** ** Nostalgia, comments and/or praise can be sent to: Eirik.Eng@troll.no diff --git a/libksirtet/lib/keys.cpp b/libksirtet/lib/keys.cpp index fadb8e5f..48dbb025 100644 --- a/libksirtet/lib/keys.cpp +++ b/libksirtet/lib/keys.cpp @@ -68,7 +68,7 @@ void KeyData::setEnabled(uint index, bool enabled) { for (uint k=0; k<_cols[index]->count(); k++) { TQMap::Iterator it = - _specActions.tqfind(_cols[index]->action(k)); + _specActions.find(_cols[index]->action(k)); if ( it==_specActions.end() ) _cols[index]->action(k)->setEnabled(enabled); else (*it).enabled = enabled; diff --git a/libksirtet/lib/meeting.cpp b/libksirtet/lib/meeting.cpp index 8730fb96..d9b3028a 100644 --- a/libksirtet/lib/meeting.cpp +++ b/libksirtet/lib/meeting.cpp @@ -136,7 +136,7 @@ void NetMeeting::cleanReject(const TQString &str) // Read incoming data void NetMeeting::readNotifier(int fd) { - int i = sm.tqfind(fd); + int i = sm.find(fd); Q_ASSERT( i!=-1 ); switch ( sm[i]->read() ) { case -1: readError(i); break; diff --git a/libksirtet/lib/smanager.cpp b/libksirtet/lib/smanager.cpp index ba2afd89..03137e32 100644 --- a/libksirtet/lib/smanager.cpp +++ b/libksirtet/lib/smanager.cpp @@ -31,7 +31,7 @@ void SocketManager::clean() sockets.resize(0); } -int SocketManager::tqfind(int fd) +int SocketManager::find(int fd) { for(uint i=0; ifd()==fd ) return i; diff --git a/libksirtet/lib/smanager.h b/libksirtet/lib/smanager.h index 8541934e..59dd0edb 100644 --- a/libksirtet/lib/smanager.h +++ b/libksirtet/lib/smanager.h @@ -40,7 +40,7 @@ class SocketManager Socket *operator [](uint i) { return sockets[i]; } /** @return the index of the socket (-1 if not present). */ - int tqfind(int fd); + int find(int fd); /** * Append a socket at the end of the array of sockets. -- cgit v1.2.1