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/gstplayer.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/gstplayer.h')
-rw-r--r-- | src/gstplayer.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gstplayer.h b/src/gstplayer.h index 5eec508..be6cf71 100644 --- a/src/gstplayer.h +++ b/src/gstplayer.h @@ -20,24 +20,25 @@ #ifndef _K_GST_PLAYER_H_ #define _K_GST_PLAYER_H_ -#include <qapplication.h> -#include <qstring.h> -#include <qsessionmanager.h> +#include <tqapplication.h> +#include <tqstring.h> +#include <tqsessionmanager.h> -struct GstSizeEvent : public QEvent { +struct GstSizeEvent : public TQEvent { GstSizeEvent (int l, int w, int h); int length; int width; int height; }; -struct GstProgressEvent : public QEvent { +struct GstProgressEvent : public TQEvent { GstProgressEvent (int p); int progress; }; -class KGStreamerPlayer : public QApplication { +class KGStreamerPlayer : public TQApplication { Q_OBJECT + TQ_OBJECT public: KGStreamerPlayer (int argc, char ** argv); ~KGStreamerPlayer (); @@ -50,7 +51,7 @@ public: void brightness (int val); void volume (int val); void seek (int val); - bool event (QEvent * e); + bool event (TQEvent * e); public slots: void play (int repeat_count); void stop (); @@ -58,7 +59,7 @@ public slots: void updatePosition (); //void postFinished (); protected: - void saveState (QSessionManager & sm); + void saveState (TQSessionManager & sm); }; #endif //_K_GST_PLAYER_H_ |