summaryrefslogtreecommitdiffstats
path: root/src/app/actions.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-13 16:33:09 +0200
committergregory guy <[email protected]>2020-06-13 16:33:09 +0200
commit12b478cefdf1789828dbcd677d409cf8bad654ca (patch)
treee0fd4a3b7a3d5b64ede310493a7b25624807f8b1 /src/app/actions.cpp
parent2c9bc9b806f533df7b8f5349467d0f4be95314a4 (diff)
downloadcodeine-12b478cefdf1789828dbcd677d409cf8bad654ca.tar.gz
codeine-12b478cefdf1789828dbcd677d409cf8bad654ca.zip
Conversion KDE -> TDE environment.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/app/actions.cpp')
-rw-r--r--src/app/actions.cpp8
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 );
}
}