summaryrefslogtreecommitdiffstats
path: root/ksnake
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 /ksnake
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 'ksnake')
-rw-r--r--ksnake/game.cpp2
-rw-r--r--ksnake/pixServer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp
index 9a9e978f..600bbd55 100644
--- a/ksnake/game.cpp
+++ b/ksnake/game.cpp
@@ -163,7 +163,7 @@ void Game::showSettings(){
// since the filename may contain underscore, they
// are replaced with spaces in the menu entry
TQString s = TQFileInfo( *it ).baseName();
- s = s.tqreplace(TQRegExp("_"), " ");
+ s = s.replace(TQRegExp("_"), " ");
list.append(s);
}
}
diff --git a/ksnake/pixServer.cpp b/ksnake/pixServer.cpp
index c27e554f..ed9a2113 100644
--- a/ksnake/pixServer.cpp
+++ b/ksnake/pixServer.cpp
@@ -216,7 +216,7 @@ void PixServer::drawBrick(TQPainter *p ,int i)
TQColor light(180,180,180);
TQColor dark(100,100,100);
- int topSq = board->getNext(N, i); //tqfind 'address' of neighbouring squares
+ int topSq = board->getNext(N, i); //find 'address' of neighbouring squares
int botSq = board->getNext(S, i);
int rightSq = board->getNext(E ,i);
int leftSq = board->getNext(W, i);