diff options
Diffstat (limited to 'src/app/actions.cpp')
-rw-r--r-- | src/app/actions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/actions.cpp b/src/app/actions.cpp index 3fd0971..1612a57 100644 --- a/src/app/actions.cpp +++ b/src/app/actions.cpp @@ -9,19 +9,19 @@ namespace Codeine { - PlayAction::PlayAction( TQObject *receiver, const char *slot, KActionCollection *ac ) - : KToggleAction( i18n("Play"), "player_play", TQt::Key_Space, receiver, slot, ac, "play" ) + PlayAction::PlayAction( TQObject *receiver, const char *slot, TDEActionCollection *ac ) + : TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, receiver, slot, ac, "play" ) {} void PlayAction::setChecked( bool b ) { - if( videoWindow()->state() == Engine::Empty && sender() && TQCString(sender()->className()) == "KToolBarButton" ) { + if( videoWindow()->state() == Engine::Empty && sender() && TQCString(sender()->className()) == "TDEToolBarButton" ) { // clicking play when empty means open PlayMediaDialog, but we have to uncheck the toolbar button // as KDElibs sets that checked automatically.. ((TQToolButton*)sender())->setOn( false ); } else - KToggleAction::setChecked( b ); + TDEToggleAction::setChecked( b ); } } |