summaryrefslogtreecommitdiffstats
path: root/src/xineplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xineplayer.h')
-rw-r--r--src/xineplayer.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/xineplayer.h b/src/xineplayer.h
index fe7a785..0a40fc4 100644
--- a/src/xineplayer.h
+++ b/src/xineplayer.h
@@ -19,38 +19,39 @@
#ifndef _KXINEPLAYER_H_
#define _KXINEPLAYER_H_
-#include <qapplication.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qsessionmanager.h>
+#include <tqapplication.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqsessionmanager.h>
-struct XineMovieParamEvent : public QEvent {
- XineMovieParamEvent (int l, int w, int h, const QStringList & al, const QStringList & sl, bool ff=false);
+struct XineMovieParamEvent : public TQEvent {
+ XineMovieParamEvent (int l, int w, int h, const TQStringList & al, const TQStringList & sl, bool ff=false);
int length;
int width;
int height;
- QStringList alang;
- QStringList slang;
+ TQStringList alang;
+ TQStringList slang;
bool first_frame;
};
-struct XineURLEvent : public QEvent {
- XineURLEvent (const QString & u);
- QString url;
+struct XineURLEvent : public TQEvent {
+ XineURLEvent (const TQString & u);
+ TQString url;
};
-struct XineTitleEvent : public QEvent {
+struct XineTitleEvent : public TQEvent {
XineTitleEvent (const char *);
- QString title;
+ TQString title;
};
-struct XineProgressEvent : public QEvent {
+struct XineProgressEvent : public TQEvent {
XineProgressEvent (int p);
int progress;
};
-class KXinePlayer : public QApplication {
+class KXinePlayer : public TQApplication {
Q_OBJECT
+ TQ_OBJECT
public:
KXinePlayer (int argc, char ** argv);
~KXinePlayer ();
@@ -63,9 +64,9 @@ public:
void brightness (int val);
void volume (int val);
void seek (int val);
- bool event (QEvent * e);
- void setAudioLang (int, const QString &);
- void setSubtitle (int, const QString &);
+ bool event (TQEvent * e);
+ void setAudioLang (int, const TQString &);
+ void setSubtitle (int, const TQString &);
public slots:
void play (int repeat_count);
void stop ();
@@ -73,7 +74,7 @@ public slots:
void updatePosition ();
void postFinished ();
protected:
- void saveState (QSessionManager & sm);
+ void saveState (TQSessionManager & sm);
};
#endif //_KXINEPLAYER_H_