summaryrefslogtreecommitdiffstats
path: root/ktuberling/toplevel.cpp
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 /ktuberling/toplevel.cpp
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 'ktuberling/toplevel.cpp')
-rw-r--r--ktuberling/toplevel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp
index 0563d856..fc0939f0 100644
--- a/ktuberling/toplevel.cpp
+++ b/ktuberling/toplevel.cpp
@@ -219,7 +219,7 @@ void TopLevel::readOptions()
config->setGroup("General");
option = config->readEntry("Sound", "on");
- soundEnabled = option.tqfind("on") == 0;
+ soundEnabled = option.find("on") == 0;
option = config->readEntry("GameboardNumber", "0");
selectedGameboard = option.toInt();
@@ -290,7 +290,7 @@ void TopLevel::fileNew()
void TopLevel::fileOpen()
{
TQString dir = locate("data", "ktuberling/museum/miss.tuberling");
- dir.truncate(dir.tqfindRev('/') + 1);
+ dir.truncate(dir.findRev('/') + 1);
KURL url = KFileDialog::getOpenURL(dir, "*.tuberling");
@@ -340,7 +340,7 @@ void TopLevel::fileSave()
TQString name = url.path();
int suffix;
- suffix = name.tqfindRev('.');
+ suffix = name.findRev('.');
if (suffix == -1)
{
name += ".tuberling";
@@ -379,7 +379,7 @@ void TopLevel::filePicture()
int suffix;
TQString end;
- suffix = name.tqfindRev('.');
+ suffix = name.findRev('.');
if (suffix == -1)
{
name += ".xpm";