summaryrefslogtreecommitdiffstats
path: root/src/kmplayerappsource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayerappsource.h')
-rw-r--r--src/kmplayerappsource.h80
1 files changed, 44 insertions, 36 deletions
diff --git a/src/kmplayerappsource.h b/src/kmplayerappsource.h
index 86378f3..63f54a1 100644
--- a/src/kmplayerappsource.h
+++ b/src/kmplayerappsource.h
@@ -23,7 +23,7 @@
#include <config.h>
#endif
-#include <qframe.h>
+#include <tqframe.h>
#include <kurl.h>
@@ -33,10 +33,10 @@
class KMPlayerApp;
class KURLRequester;
-class QPopupMenu;
-class QMenuItem;
-class QCheckBox;
-class QLineEdit;
+class TQPopupMenu;
+class TQMenuItem;
+class TQCheckBox;
+class TQLineEdit;
class TVInput;
class TVChannel;
@@ -45,25 +45,27 @@ class TVChannel;
*/
class KMPLAYER_NO_EXPORT KMPlayerMenuSource : public KMPlayer::Source {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerMenuSource (const QString & n, KMPlayerApp * app, QPopupMenu * m, const char * src);
+ KMPlayerMenuSource (const TQString & n, KMPlayerApp * app, TQPopupMenu * m, const char * src);
virtual ~KMPlayerMenuSource ();
protected:
- void menuItemClicked (QPopupMenu * menu, int id);
- QPopupMenu * m_menu;
+ void menuItemClicked (TQPopupMenu * menu, int id);
+ TQPopupMenu * m_menu;
KMPlayerApp * m_app;
};
/*
* Preference page for DVD
*/
-class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageDVD : public QFrame {
+class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageDVD : public TQFrame {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerPrefSourcePageDVD (QWidget * parent);
+ KMPlayerPrefSourcePageDVD (TQWidget * tqparent);
~KMPlayerPrefSourcePageDVD () {}
- QCheckBox * autoPlayDVD;
+ TQCheckBox * autoPlayDVD;
KURLRequester * dvddevice;
};
@@ -72,18 +74,19 @@ public:
*/
class KMPLAYER_NO_EXPORT KMPlayerDVDSource : public KMPlayerMenuSource, public KMPlayer::PreferencesPage {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerDVDSource (KMPlayerApp * app, QPopupMenu * m);
+ KMPlayerDVDSource (KMPlayerApp * app, TQPopupMenu * m);
virtual ~KMPlayerDVDSource ();
- virtual bool processOutput (const QString & line);
- virtual QString filterOptions ();
+ virtual bool processOutput (const TQString & line);
+ virtual TQString filterOptions ();
virtual void setIdentified (bool b = true);
- virtual QString prettyName ();
+ virtual TQString prettyName ();
virtual void write (KConfig *);
virtual void read (KConfig *);
virtual void sync (bool);
- virtual void prefLocation (QString & item, QString & icon, QString & tab);
- virtual QFrame * prefPage (QWidget * parent);
+ virtual void prefLocation (TQString & item, TQString & icon, TQString & tab);
+ virtual TQFrame * prefPage (TQWidget * tqparent);
public slots:
virtual void activate ();
virtual void deactivate ();
@@ -95,10 +98,10 @@ public slots:
private:
void buildArguments ();
void play ();
- QPopupMenu * m_dvdtitlemenu;
- QPopupMenu * m_dvdchaptermenu;
- QPopupMenu * m_dvdlanguagemenu;
- QPopupMenu * m_dvdsubtitlemenu;
+ TQPopupMenu * m_dvdtitlemenu;
+ TQPopupMenu * m_dvdchaptermenu;
+ TQPopupMenu * m_dvdlanguagemenu;
+ TQPopupMenu * m_dvdsubtitlemenu;
KMPlayer::NodePtr disks;
KMPlayerPrefSourcePageDVD * m_configpage;
int m_current_title;
@@ -111,10 +114,11 @@ private:
*/
class KMPLAYER_NO_EXPORT KMPlayerDVDNavSource : public KMPlayerMenuSource {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerDVDNavSource (KMPlayerApp * app, QPopupMenu * m);
+ KMPlayerDVDNavSource (KMPlayerApp * app, TQPopupMenu * m);
virtual ~KMPlayerDVDNavSource ();
- virtual QString prettyName ();
+ virtual TQString prettyName ();
public slots:
virtual void activate ();
virtual void deactivate ();
@@ -128,13 +132,14 @@ public slots:
/*
* Preference page for VCD
*/
-class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVCD : public QFrame {
+class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVCD : public TQFrame {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerPrefSourcePageVCD (QWidget * parent);
+ KMPlayerPrefSourcePageVCD (TQWidget * tqparent);
~KMPlayerPrefSourcePageVCD () {}
KURLRequester * vcddevice;
- QCheckBox *autoPlayVCD;
+ TQCheckBox *autoPlayVCD;
};
@@ -143,17 +148,18 @@ public:
*/
class KMPLAYER_NO_EXPORT KMPlayerVCDSource : public KMPlayerMenuSource, public KMPlayer::PreferencesPage {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerVCDSource (KMPlayerApp * app, QPopupMenu * m);
+ KMPlayerVCDSource (KMPlayerApp * app, TQPopupMenu * m);
virtual ~KMPlayerVCDSource ();
- virtual bool processOutput (const QString & line);
+ virtual bool processOutput (const TQString & line);
virtual void setIdentified (bool b = true);
- virtual QString prettyName ();
+ virtual TQString prettyName ();
virtual void write (KConfig *);
virtual void read (KConfig *);
virtual void sync (bool);
- virtual void prefLocation (QString & item, QString & icon, QString & tab);
- virtual QFrame * prefPage (QWidget * parent);
+ virtual void prefLocation (TQString & item, TQString & icon, TQString & tab);
+ virtual TQFrame * prefPage (TQWidget * tqparent);
public slots:
virtual void activate ();
virtual void deactivate ();
@@ -169,12 +175,13 @@ private:
*/
class KMPLAYER_NO_EXPORT KMPlayerAudioCDSource : public KMPlayerMenuSource {
Q_OBJECT
+ TQ_OBJECT
public:
- KMPlayerAudioCDSource (KMPlayerApp * app, QPopupMenu * m);
+ KMPlayerAudioCDSource (KMPlayerApp * app, TQPopupMenu * m);
virtual ~KMPlayerAudioCDSource ();
- virtual bool processOutput (const QString & line);
+ virtual bool processOutput (const TQString & line);
virtual void setIdentified (bool b = true);
- virtual QString prettyName ();
+ virtual TQString prettyName ();
public slots:
virtual void activate ();
virtual void deactivate ();
@@ -188,13 +195,14 @@ private:
*/
class KMPLAYER_NO_EXPORT KMPlayerPipeSource : public KMPlayer::Source {
Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPipeSource (KMPlayerApp * app);
virtual ~KMPlayerPipeSource ();
virtual bool hasLength ();
virtual bool isSeekable ();
- void setCommand (const QString & cmd);
- virtual QString prettyName ();
+ void setCommand (const TQString & cmd);
+ virtual TQString prettyName ();
public slots:
virtual void activate ();
virtual void deactivate ();