summaryrefslogtreecommitdiffstats
path: root/ksokoban
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban')
-rw-r--r--ksokoban/MainWindow.cpp2
-rw-r--r--ksokoban/ModalLabel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksokoban/MainWindow.cpp b/ksokoban/MainWindow.cpp
index 0c28579c..349e9d01 100644
--- a/ksokoban/MainWindow.cpp
+++ b/ksokoban/MainWindow.cpp
@@ -311,7 +311,7 @@ void
MainWindow::openURL(KURL _url) {
KConfig *cfg=(KApplication::kApplication())->config();
-// int namepos = _url.path().tqfindRev('/') + 1; // NOTE: tqfindRev can return -1
+// int namepos = _url.path().findRev('/') + 1; // NOTE: findRev can return -1
// TQString levelName = _url.path().mid(namepos);
TQString levelName = _url.fileName();
diff --git a/ksokoban/ModalLabel.cpp b/ksokoban/ModalLabel.cpp
index cf813779..47d4c49b 100644
--- a/ksokoban/ModalLabel.cpp
+++ b/ksokoban/ModalLabel.cpp
@@ -40,7 +40,7 @@ ModalLabel::ModalLabel(const TQString &text, TQWidget *tqparent,
for (int linePos=0; linePos < (int) text.length(); linePos += lineLen+1) {
- lineLen = text.tqfind('\n', linePos);
+ lineLen = text.find('\n', linePos);
if (lineLen < 0) lineLen = text.length() - linePos;
else lineLen -= linePos;