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 /kbattleship/kbattleship/kbattleshipserver.cpp | |
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 'kbattleship/kbattleship/kbattleshipserver.cpp')
-rw-r--r-- | kbattleship/kbattleship/kbattleshipserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbattleship/kbattleship/kbattleshipserver.cpp b/kbattleship/kbattleship/kbattleshipserver.cpp index 34be153d..7b10d4fd 100644 --- a/kbattleship/kbattleship/kbattleshipserver.cpp +++ b/kbattleship/kbattleship/kbattleshipserver.cpp @@ -85,7 +85,7 @@ void KBattleshipServer::slotReadClient() m_readBuffer += TQString::fromUtf8(buf); delete []buf; int pos; - while ((pos = m_readBuffer.tqfind("</kmessage>")) >= 0) + while ((pos = m_readBuffer.find("</kmessage>")) >= 0) { pos += 11; // Length of "</kmessage>" KMessage *msg = new KMessage(); |