diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-06-13 16:09:24 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-06-13 16:09:24 +0200 |
commit | 2c9bc9b806f533df7b8f5349467d0f4be95314a4 (patch) | |
tree | 15f82ae94dd430374f3d939958912c4fb2855326 /src/app/actions.cpp | |
parent | 38eaf7209a322a622e1b898eaa5477568ca9c6b6 (diff) | |
download | codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.tar.gz codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.zip |
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src/app/actions.cpp')
-rw-r--r-- | src/app/actions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/actions.cpp b/src/app/actions.cpp index a767a2c..3fd0971 100644 --- a/src/app/actions.cpp +++ b/src/app/actions.cpp @@ -4,22 +4,22 @@ #include "actions.h" #include "debug.h" #include "mxcl.library.h" -#include <qtoolbutton.h> +#include <ntqtoolbutton.h> #include "xineEngine.h" namespace Codeine { - PlayAction::PlayAction( QObject *receiver, const char *slot, KActionCollection *ac ) - : KToggleAction( i18n("Play"), "player_play", Qt::Key_Space, receiver, slot, ac, "play" ) + PlayAction::PlayAction( TQObject *receiver, const char *slot, KActionCollection *ac ) + : KToggleAction( i18n("Play"), "player_play", TQt::Key_Space, receiver, slot, ac, "play" ) {} void PlayAction::setChecked( bool b ) { - if( videoWindow()->state() == Engine::Empty && sender() && QCString(sender()->className()) == "KToolBarButton" ) { + if( videoWindow()->state() == Engine::Empty && sender() && TQCString(sender()->className()) == "KToolBarButton" ) { // clicking play when empty means open PlayMediaDialog, but we have to uncheck the toolbar button // as KDElibs sets that checked automatically.. - ((QToolButton*)sender())->setOn( false ); + ((TQToolButton*)sender())->setOn( false ); } else KToggleAction::setChecked( b ); |