diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 24c5cdc2737fe0044b11a12359606973eb93fc0b (patch) | |
tree | a670701ebff60c73e9f32aab588e9b3d395d74f9 /libksirtet | |
parent | f6000cffbc89072156cad7866d179fbd622df317 (diff) | |
download | tdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.tar.gz tdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.zip |
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
Diffstat (limited to 'libksirtet')
-rw-r--r-- | libksirtet/base/gtetris.h | 2 | ||||
-rw-r--r-- | libksirtet/lib/keys.cpp | 2 | ||||
-rw-r--r-- | libksirtet/lib/meeting.cpp | 2 | ||||
-rw-r--r-- | libksirtet/lib/smanager.cpp | 2 | ||||
-rw-r--r-- | libksirtet/lib/smanager.h | 2 |
5 files changed, 5 insertions, 5 deletions
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<KAction *, SpecialData>::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; i<sockets.size(); i++) if ( sockets[i]->fd()==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. |