summaryrefslogtreecommitdiffstats
path: root/k9Mplayer/k9mplayer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
commitb0e912c8b3d02a518fedda28c3180eb4794a7520 (patch)
tree07d344862562fab58cbe2df39d13d16f2e4d2bea /k9Mplayer/k9mplayer.h
parent4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff)
downloadk9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz
k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9Mplayer/k9mplayer.h')
-rw-r--r--k9Mplayer/k9mplayer.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/k9Mplayer/k9mplayer.h b/k9Mplayer/k9mplayer.h
index c4723e8..241af0d 100644
--- a/k9Mplayer/k9mplayer.h
+++ b/k9Mplayer/k9mplayer.h
@@ -9,34 +9,35 @@
class k9DVD;
class k9DVDTitle;
class KProcess;
-class QTimer;
-class QResizeEvent;
+class TQTimer;
+class TQResizeEvent;
class K9Mplayer : public MPlayer
{
Q_OBJECT
+ TQ_OBJECT
private:
KProcess *m_process;
bool m_seeking,m_initVol;
int m_title;
k9DVDTitle *m_dvdTitle;
- QString m_device;
- QTimer *m_timer;
- void sendCmd(QString _cmd);
+ TQString m_device;
+ TQTimer *m_timer;
+ void sendCmd(TQString _cmd);
int m_position;
bool m_canwrite;
- QWidget *m_container;
+ TQWidget *m_container;
float m_ratio;
public:
- //K9Mplayer(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- K9Mplayer(QObject *parent=0,const char *name=0,const QStringList args=0);
+ //K9Mplayer(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ K9Mplayer(TQObject *tqparent=0,const char *name=0,const TQStringList args=0);
~K9Mplayer();
/*$PUBLIC_FUNCTIONS$*/
- void setDevice(const QString & _device);
- void setTitle(const QString & _numTitle,const QString &_numChapter);
+ void setDevice(const TQString & _device);
+ void setTitle(const TQString & _numTitle,const TQString &_numChapter);
private slots:
void slotLengthChanged();
- void slotNewPosition(int _pos,const QTime & _time);
+ void slotNewPosition(int _pos,const TQTime & _time);
void receivedStdout (KProcess *proc, char *buffer, int buflen);
void wroteStdin(KProcess *_process);
void timeout();
@@ -56,7 +57,7 @@ public slots:
virtual void bSwitchAudioClick();
protected:
/*$PROTECTED_FUNCTIONS$*/
- void resizeEvent ( QResizeEvent * _resiseEvent);
+ void resizeEvent ( TQResizeEvent * _resiseEvent);
protected slots:
/*$PROTECTED_SLOTS$*/