summaryrefslogtreecommitdiffstats
path: root/libksirtet
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet')
-rw-r--r--libksirtet/base/gtetris.h2
-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
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: [email protected]
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.