diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 06:10:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 06:10:56 +0000 |
commit | 769e63d24adf5c844137484f06a972fcce732d6a (patch) | |
tree | 5185797dcb3ff4b1b3cb71d367123bf89eb2410f /src/xvplayer.h | |
parent | 0a8af92185eac74d48da1225e6053a0d66c078f5 (diff) | |
download | kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.tar.gz kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.zip |
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
Diffstat (limited to 'src/xvplayer.h')
-rw-r--r-- | src/xvplayer.h | 15 |
1 files changed, 8 insertions, 7 deletions
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 <qapplication.h> -#include <qstring.h> -#include <qsessionmanager.h> +#include <tqapplication.h> +#include <tqstring.h> +#include <tqsessionmanager.h> -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; }; |