diff options
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_ |
