diff options
Diffstat (limited to 'src/kviewmpeg2.h')
-rwxr-xr-x | src/kviewmpeg2.h | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/src/kviewmpeg2.h b/src/kviewmpeg2.h index bd21253..1c0b58b 100755 --- a/src/kviewmpeg2.h +++ b/src/kviewmpeg2.h @@ -23,13 +23,13 @@ #include "k9dvdtitle.h" -#include <qthread.h> +#include <tqthread.h> #include <viewmpeg2.h> -#include <qwidget.h> -#include <qstring.h> -#include <qevent.h> -#include <qmutex.h> -#include <qgl.h> +#include <tqwidget.h> +#include <tqstring.h> +#include <tqevent.h> +#include <tqmutex.h> +#include <tqgl.h> #include "k9plaympeg2.h" #include "k9glwidget.h" #include "k9mplayer.h" @@ -38,57 +38,59 @@ *@author */ -class k9Widget : public QWidget { +class k9Widget : public TQWidget { Q_OBJECT + TQ_OBJECT protected: - QImage *m_image; - void paintEvent ( QPaintEvent * _event); + TQImage *m_image; + void paintEvent ( TQPaintEvent * _event); public: - k9Widget (QWidget *_parent); - void setImage(QImage *_image); + k9Widget (TQWidget *_parent); + void setImage(TQImage *_image); }; class kViewMPEG2 : public ViewMPEG2 { Q_OBJECT + TQ_OBJECT public: kViewMPEG2(); ~kViewMPEG2(); private: - QMutex mutex; + TQMutex mutex; k9DVDTitle *m_title; - QString dev; + TQString dev; int selTitle; unsigned long idxLect; bool pause; bool lockSlider; - QImage img; + TQImage img; bool stopped; void sliderReleased(); /** No descriptions */ void sliderPressed(); void lock(); void unlock(); - QString file; - QString errMsg; + TQString file; + TQString errMsg; bool error; - QString length; + TQString length; uint startSector; uint lastSector; k9PlayMPEG2 m_player; - QGridLayout *m_layout; + TQGridLayout *m_layout; bool m_prefUseGL; k9GLWidget *m_GLwidget; k9Widget *m_widget; protected: - void closeEvent( QCloseEvent* ); - void resizeEvent ( QResizeEvent * ); + void closeEvent( TQCloseEvent* ); + void resizeEvent ( TQResizeEvent * ); public slots: // Public slots /** No descriptions */ int open (k9DVD *_dvd,k9DVDTitle * title,int chapter); - void drawPixmap( QImage *image); + void drawPixmap( TQImage *image); void drawppm(uchar *_buf,int _width,int _height,int _len); - void setError(const QString & err); + void setError(const TQString & err); void setPosition(uint32_t _position); void setMax(uint32_t _position); void setMin(uint32_t _position); |