summaryrefslogtreecommitdiffstats
path: root/src/xvplayer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
commit769e63d24adf5c844137484f06a972fcce732d6a (patch)
tree5185797dcb3ff4b1b3cb71d367123bf89eb2410f /src/xvplayer.h
parent0a8af92185eac74d48da1225e6053a0d66c078f5 (diff)
downloadkmplayer-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.h15
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;
};