diff options
Diffstat (limited to 'kbounce/kbounce.cpp')
-rw-r--r-- | kbounce/kbounce.cpp | 12 |
1 files changed, 6 insertions, 6 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() |