From 769e63d24adf5c844137484f06a972fcce732d6a Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 06:10:56 +0000 Subject: TQt4 port kmplayer This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1238840 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/xvplayer.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/xvplayer.h') diff --git a/src/xvplayer.h b/src/xvplayer.h index 9782fc6..ece8475 100644 --- a/src/xvplayer.h +++ b/src/xvplayer.h @@ -20,12 +20,13 @@ #ifndef _K_XV_PLAYER_H_ #define _K_XV_PLAYER_H_ -#include -#include -#include +#include +#include +#include -class KXVideoPlayer : public QApplication { +class KXVideoPlayer : public TQApplication { Q_OBJECT + TQ_OBJECT public: KXVideoPlayer (int argc, char ** argv); ~KXVideoPlayer (); @@ -39,7 +40,7 @@ public: void volume (int val); void frequency (int val); //void seek (int val); - //bool event (QEvent * e); + //bool event (TQEvent * e); public slots: void play (); void stop (); @@ -47,8 +48,8 @@ public slots: //void updatePosition (); //void postFinished (); protected: - void saveState (QSessionManager & sm); - void timerEvent (QTimerEvent *); + void saveState (TQSessionManager & sm); + void timerEvent (TQTimerEvent *); private: int mute_timer; }; -- cgit v1.2.1