diff options
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 ); |