From 24c5cdc2737fe0044b11a12359606973eb93fc0b Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- ksnake/game.cpp | 2 +- ksnake/pixServer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ksnake') 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); -- cgit v1.2.1