diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /krec/krecfilewidgets.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krec/krecfilewidgets.h')
-rw-r--r-- | krec/krecfilewidgets.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/krec/krecfilewidgets.h b/krec/krecfilewidgets.h index cca78907..fe389b16 100644 --- a/krec/krecfilewidgets.h +++ b/krec/krecfilewidgets.h @@ -14,9 +14,9 @@ #ifndef KRECFILEWIDGETS_H #define KRECFILEWIDGETS_H -#include <qframe.h> -#include <qvaluelist.h> -#include <qpoint.h> +#include <tqframe.h> +#include <tqvaluelist.h> +#include <tqpoint.h> class KRecFile; class KRecBuffer; @@ -35,27 +35,27 @@ class QPainter; class KAction; class KToggleAction; -class KRecFileWidget : public QFrame { +class KRecFileWidget : public TQFrame { Q_OBJECT public: - KRecFileWidget( KRecFile*, QWidget*, const char* =0 ); + KRecFileWidget( KRecFile*, TQWidget*, const char* =0 ); ~KRecFileWidget(); void setFile( KRecFile* ); - void resizeEvent( QResizeEvent* =0 ); - void mouseReleaseEvent( QMouseEvent* ); + void resizeEvent( TQResizeEvent* =0 ); + void mouseReleaseEvent( TQMouseEvent* ); public slots: void newBuffer( KRecBuffer* ); void deleteBuffer( KRecBuffer* ); private slots: - void popupMenu( KRecBufferWidget*, QPoint ); + void popupMenu( KRecBufferWidget*, TQPoint ); private: KRecFile *_file; - QValueList<KRecBufferWidget*> bufferwidgets; + TQValueList<KRecBufferWidget*> bufferwidgets; }; -class Sample : public QObject { +class Sample : public TQObject { Q_OBJECT public: Sample() : _values( 0 ), _min( 0 ), _max( 0 ) {} @@ -73,24 +73,24 @@ private: int _count; }; -class KRecBufferWidget : public QFrame { +class KRecBufferWidget : public TQFrame { Q_OBJECT public: - KRecBufferWidget( KRecBuffer*, QWidget*, const char* =0 ); + KRecBufferWidget( KRecBuffer*, TQWidget*, const char* =0 ); ~KRecBufferWidget(); const KRecBuffer* buffer() { return _buffer; } - void resizeEvent( QResizeEvent* ); + void resizeEvent( TQResizeEvent* ); - void drawFrame( QPainter* ); - void drawContents( QPainter* ); - void paintEvent( QPaintEvent* ); + void drawFrame( TQPainter* ); + void drawContents( TQPainter* ); + void paintEvent( TQPaintEvent* ); - void mousePressEvent( QMouseEvent* ); - void mouseDoubleClickEvent( QMouseEvent* ); + void mousePressEvent( TQMouseEvent* ); + void mouseDoubleClickEvent( TQMouseEvent* ); signals: - void popupMenu( KRecBufferWidget*, QPoint ); + void popupMenu( KRecBufferWidget*, TQPoint ); private slots: void initSamples(); void changeTitle(); @@ -98,10 +98,10 @@ private slots: private: void initLayout(); KRecBuffer *_buffer; - QRegion *_main_region, *_title_region, *_fileend_region; - QPoint _topleft, _bottomleft, _bottomright, _topright, _topmiddle, _bottommiddle; + TQRegion *_main_region, *_title_region, *_fileend_region; + TQPoint _topleft, _bottomleft, _bottomright, _topright, _topmiddle, _bottommiddle; int _title_height; - QValueList <Sample*> samples1, samples2; + TQValueList <Sample*> samples1, samples2; uint alreadyreadsize; }; |