summaryrefslogtreecommitdiffstats
path: root/ksokoban/MainWindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /ksokoban/MainWindow.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksokoban/MainWindow.cpp')
-rw-r--r--ksokoban/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksokoban/MainWindow.cpp b/ksokoban/MainWindow.cpp
index 1f9ba526..0c28579c 100644
--- a/ksokoban/MainWindow.cpp
+++ b/ksokoban/MainWindow.cpp
@@ -179,7 +179,7 @@ MainWindow::MainWindow() : KMainWindow(0), externalCollection_(0) {
updateBookmark(i);
}
- help_ = helpMenu(TQString::null, false);
+ help_ = helpMenu(TQString(), false);
menu_->insertSeparator();
menu_->insertItem(i18n("&Help"), help_);
@@ -311,7 +311,7 @@ void
MainWindow::openURL(KURL _url) {
KConfig *cfg=(KApplication::kApplication())->config();
-// int namepos = _url.path().findRev('/') + 1; // NOTE: findRev can return -1
+// int namepos = _url.path().tqfindRev('/') + 1; // NOTE: tqfindRev can return -1
// TQString levelName = _url.path().mid(namepos);
TQString levelName = _url.fileName();