summaryrefslogtreecommitdiffstats
path: root/krec/krecfilewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecfilewidgets.h')
-rw-r--r--krec/krecfilewidgets.h44
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;
};