diff options
Diffstat (limited to 'src/kmplayervdr.h')
-rw-r--r-- | src/kmplayervdr.h | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/src/kmplayervdr.h b/src/kmplayervdr.h index 4f11e8f..ce714aa 100644 --- a/src/kmplayervdr.h +++ b/src/kmplayervdr.h @@ -24,7 +24,7 @@ #include <config.h> #endif -#include <qframe.h> +#include <tqframe.h> #include <kurl.h> @@ -36,29 +36,30 @@ class KMPlayerApp; class VDRCommand; class KURLRequester; -class QButtonGroup; -class QMenuItem; -class QCheckBox; -class QLineEdit; +class TQButtonGroup; +class TQMenuItem; +class TQCheckBox; +class TQLineEdit; class KAction; -class QSocket; -class QTimerEvent; +class TQSocket; +class TQTimerEvent; class KListView; /* * Preference page for VDR */ -class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVDR : public QFrame { +class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVDR : public TQFrame { Q_OBJECT + TQ_OBJECT public: - KMPlayerPrefSourcePageVDR (QWidget * parent, KMPlayer::PartBase * player); + KMPlayerPrefSourcePageVDR (TQWidget * tqparent, KMPlayer::PartBase * player); ~KMPlayerPrefSourcePageVDR (); KURLRequester * vcddevice; KListView * xv_port; - QLineEdit * tcp_port; - QButtonGroup * scale; + TQLineEdit * tcp_port; + TQButtonGroup * scale; protected: - void showEvent (QShowEvent *); + void showEvent (TQShowEvent *); private: KMPlayer::PartBase * m_player; }; @@ -69,17 +70,18 @@ private: */ class KMPLAYER_NO_EXPORT KMPlayerVDRSource : public KMPlayer::Source, public KMPlayer::PreferencesPage { Q_OBJECT + TQ_OBJECT public: KMPlayerVDRSource (KMPlayerApp * app); virtual ~KMPlayerVDRSource (); virtual bool hasLength (); virtual bool isSeekable (); - 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); virtual bool requestPlayURL (KMPlayer::NodePtr mrl); virtual void stateElementChanged (KMPlayer::Node * node, KMPlayer::Node::State os, KMPlayer::Node::State ns); void waitForConnectionClose (); @@ -123,7 +125,7 @@ private slots: void processStarted (); void configReceived (); protected: - void timerEvent (QTimerEvent *); + void timerEvent (TQTimerEvent *); private: enum { act_up = 0, act_down, act_back, act_ok, @@ -139,14 +141,14 @@ private: void queueCommand (const char * cmd, int repeat_ms); void sendCommand (); void deleteCommands (); - void jump (const QString & channel); + void jump (const TQString & channel); KMPlayerApp * m_app; KMPlayerPrefSourcePageVDR * m_configpage; KAction * m_actions [act_last]; KAction * m_fullscreen_actions [act_last]; - QSocket * m_socket; + TQSocket * m_socket; VDRCommand * commands; - QString m_request_jump; + TQString m_request_jump; KMPlayer::NodePtrW m_last_channel; int channel_timer; int timeout_timer; @@ -159,8 +161,9 @@ private: class XVideo : public KMPlayer::CallbackProcess { Q_OBJECT + TQ_OBJECT public: - XVideo (QObject * parent, KMPlayer::Settings * settings); + XVideo (TQObject * tqparent, KMPlayer::Settings * settings); ~XVideo (); public slots: virtual bool ready (KMPlayer::Viewer *); |