From 12b478cefdf1789828dbcd677d409cf8bad654ca Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 13 Jun 2020 16:33:09 +0200 Subject: Conversion KDE -> TDE environment. Signed-off-by: gregory guy --- src/app/actions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/app/actions.cpp') 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 ); } } -- cgit v1.2.1