summaryrefslogtreecommitdiffstats
path: root/ktuberling/toplevel.cpp
diff options
context:
space:
mode:
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";