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 /kbounce/kbounce.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 '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() | 
