diff options
Diffstat (limited to 'kbounce')
-rw-r--r-- | kbounce/kbounce.cpp | 12 | ||||
-rw-r--r-- | kbounce/kbounce.h | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kbounce/kbounce.cpp b/kbounce/kbounce.cpp index f8bb905d..4a3e09ff 100644 --- a/kbounce/kbounce.cpp +++ b/kbounce/kbounce.cpp @@ -122,7 +122,7 @@ void KJezzball::initXMLUI() m_newAction = KStdGameAction::gameNew( TQT_TQOBJECT(this), TQT_SLOT(newGame()), actionCollection() ); // AB: originally KBounce/KJezzball used Space for new game - but Ctrl+N is // default. We solve this by providing space as an alternative key - KShortcut s = m_newAction->shortcut(); + TDEShortcut s = m_newAction->shortcut(); s.append(KKeySequence(TQKeySequence(Key_Space))); m_newAction->setShortcut(s); @@ -132,16 +132,16 @@ void KJezzball::initXMLUI() KStdGameAction::end(TQT_TQOBJECT(this), TQT_SLOT(closeGame()), actionCollection()); KStdGameAction::configureHighscores(TQT_TQOBJECT(this), TQT_SLOT(configureHighscores()),actionCollection()); - new KAction( i18n("&Select Background Folder..."), 0, TQT_TQOBJECT(this), TQT_SLOT(selectBackground()), + new TDEAction( i18n("&Select Background Folder..."), 0, TQT_TQOBJECT(this), TQT_SLOT(selectBackground()), actionCollection(), "background_select" ); m_backgroundShowAction = - new KToggleAction( i18n("Show &Backgrounds"), 0, TQT_TQOBJECT(this), TQT_SLOT(showBackground()), + new TDEToggleAction( i18n("Show &Backgrounds"), 0, TQT_TQOBJECT(this), TQT_SLOT(showBackground()), actionCollection(), "background_show" ); m_backgroundShowAction->setCheckedState(i18n("Hide &Backgrounds")); m_backgroundShowAction->setEnabled( !m_backgroundDir.isEmpty() ); m_backgroundShowAction->setChecked( m_showBackground ); - m_soundAction = new KToggleAction( i18n("&Play Sounds"), 0, 0, 0, actionCollection(), "toggle_sound"); + m_soundAction = new TDEToggleAction( i18n("&Play Sounds"), 0, 0, 0, actionCollection(), "toggle_sound"); } void KJezzball::newGame() @@ -336,7 +336,7 @@ void KJezzball::focusOutEvent( TQFocusEvent *ev ) // m_gameWidget->display( i18n("Game suspended") ); } - KMainWindow::focusOutEvent( ev ); + TDEMainWindow::focusOutEvent( ev ); } void KJezzball::focusInEvent ( TQFocusEvent *ev ) @@ -350,7 +350,7 @@ void KJezzball::focusInEvent ( TQFocusEvent *ev ) //m_gameWidget->display( TQString() ); } - KMainWindow::focusInEvent( ev ); + TDEMainWindow::focusInEvent( ev ); } void KJezzball::second() diff --git a/kbounce/kbounce.h b/kbounce/kbounce.h index e1012a1c..408adde4 100644 --- a/kbounce/kbounce.h +++ b/kbounce/kbounce.h @@ -24,10 +24,10 @@ class JezzGame; class TQLCDNumber; class TQGridLayout; -class KToggleAction; -class KAction; +class TDEToggleAction; +class TDEAction; -class KJezzball : public KMainWindow +class KJezzball : public TDEMainWindow { Q_OBJECT @@ -74,8 +74,8 @@ protected: TQLCDNumber *m_scoreLCD; TQLCDNumber *m_percentLCD; TQLCDNumber *m_timeLCD; - KToggleAction *m_pauseButton, *m_backgroundShowAction, *m_soundAction; - KAction *m_newAction; + TDEToggleAction *m_pauseButton, *m_backgroundShowAction, *m_soundAction; + TDEAction *m_newAction; TQTimer *m_timer; TQTimer *m_nextLevelTimer; |