summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit24c5cdc2737fe0044b11a12359606973eb93fc0b (patch)
treea670701ebff60c73e9f32aab588e9b3d395d74f9 /libksirtet/lib
parentf6000cffbc89072156cad7866d179fbd622df317 (diff)
downloadtdegames-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/lib')
-rw-r--r--libksirtet/lib/keys.cpp2
-rw-r--r--libksirtet/lib/meeting.cpp2
-rw-r--r--libksirtet/lib/smanager.cpp2
-rw-r--r--libksirtet/lib/smanager.h2
4 files changed, 4 insertions, 4 deletions
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.