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 /kspaceduel/mainview.cpp | |
parent | 2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff) | |
download | tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kspaceduel/mainview.cpp')
-rw-r--r-- | kspaceduel/mainview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp index 09056ecc..16766d5b 100644 --- a/kspaceduel/mainview.cpp +++ b/kspaceduel/mainview.cpp @@ -16,7 +16,7 @@ #include "ai.h" #include "options.h" -KToggleAction *MyMainView::pauseAction = 0; +TDEToggleAction *MyMainView::pauseAction = 0; MyMainView::MyMainView(TQWidget *parent) :TQWidget(parent), @@ -103,7 +103,7 @@ MyMainView::~MyMainView() writeConfig(); } -void MyMainView::setActionCollection(KActionCollection *a) +void MyMainView::setActionCollection(TDEActionCollection *a) { actionCollection = a; } @@ -492,7 +492,7 @@ void MyMainView::newRound() field.update(); TQString str = i18n("Press %1 to start") - .arg(KShortcut(GAME_START_SHORTCUT).toString()); + .arg(TDEShortcut(GAME_START_SHORTCUT).toString()); emit(setStatusText(str,IDS_MAIN)); emit( setStatusText( "", IDS_PAUSE ) ); stop( ); @@ -557,7 +557,7 @@ void MyMainView::timerEvent(TQTimerEvent *event) emit(wins(0,w)); } TQString str = i18n("Press %1 for new round") - .arg(KShortcut(GAME_START_SHORTCUT).toString()); + .arg(TDEShortcut(GAME_START_SHORTCUT).toString()); emit(setStatusText(str,IDS_MAIN)); stop( ); } |