summaryrefslogtreecommitdiffstats
path: root/ksokoban
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban')
-rw-r--r--ksokoban/MainWindow.cpp8
-rw-r--r--ksokoban/MainWindow.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/ksokoban/MainWindow.cpp b/ksokoban/MainWindow.cpp
index 626aded8..2efaad97 100644
--- a/ksokoban/MainWindow.cpp
+++ b/ksokoban/MainWindow.cpp
@@ -70,7 +70,7 @@ MainWindow::createCollectionMenu() {
}
-MainWindow::MainWindow() : KMainWindow(0), externalCollection_(0) {
+MainWindow::MainWindow() : TDEMainWindow(0), externalCollection_(0) {
int i;
TQPixmap pixmap;
@@ -102,12 +102,12 @@ MainWindow::MainWindow() : KMainWindow(0), externalCollection_(0) {
game_->insertItem(i18n("&Level Collection"), collection_);
pixmap = SmallIcon("undo");
- game_->insertItem(TQIconSet(pixmap), i18n("&Undo"), playField_, TQT_SLOT(undo()),TQKeySequence( (KStdAccel::undo()).toString()));
+ game_->insertItem(TQIconSet(pixmap), i18n("&Undo"), playField_, TQT_SLOT(undo()),TQKeySequence( (TDEStdAccel::undo()).toString()));
pixmap = SmallIcon("redo");
- game_->insertItem(TQIconSet(pixmap), i18n("&Redo"), playField_, TQT_SLOT(redo()), TQKeySequence( (KStdAccel::redo()).toString()));
+ game_->insertItem(TQIconSet(pixmap), i18n("&Redo"), playField_, TQT_SLOT(redo()), TQKeySequence( (TDEStdAccel::redo()).toString()));
game_->insertSeparator();
pixmap = SmallIcon("exit");
- game_->insertItem(TQIconSet(pixmap), i18n("&Quit"), TDEApplication::kApplication(), TQT_SLOT(closeAllWindows()), TQKeySequence( (KStdAccel::quit()).toString()));
+ game_->insertItem(TQIconSet(pixmap), i18n("&Quit"), TDEApplication::kApplication(), TQT_SLOT(closeAllWindows()), TQKeySequence( (TDEStdAccel::quit()).toString()));
menu_->insertItem(i18n("&Game"), game_);
animation_ = new TQPopupMenu(0,"animation menu");
diff --git a/ksokoban/MainWindow.h b/ksokoban/MainWindow.h
index 6e5437f9..3e81f35d 100644
--- a/ksokoban/MainWindow.h
+++ b/ksokoban/MainWindow.h
@@ -33,7 +33,7 @@ class TQDragEnterEvent;
class TQDropEvent;
class LevelCollection;
-class MainWindow : public KMainWindow {
+class MainWindow : public TDEMainWindow {
Q_OBJECT
public: