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 --- ksokoban/MainWindow.cpp | 2 +- ksokoban/ModalLabel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ksokoban') 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; -- cgit v1.2.1