diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:46 -0600 |
commit | 58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch) | |
tree | 5a2fde6842fd422cae2d8670d382be965098cc32 /ksokoban | |
parent | 2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff) | |
download | tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksokoban')
-rw-r--r-- | ksokoban/MainWindow.cpp | 8 | ||||
-rw-r--r-- | ksokoban/MainWindow.h | 2 |
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: |