summaryrefslogtreecommitdiffstats
path: root/src/gui/oscilloscopeview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/oscilloscopeview.h')
-rw-r--r--src/gui/oscilloscopeview.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/gui/oscilloscopeview.h b/src/gui/oscilloscopeview.h
index 97cb595..d9daaa0 100644
--- a/src/gui/oscilloscopeview.h
+++ b/src/gui/oscilloscopeview.h
@@ -11,28 +11,29 @@
#ifndef OSCILLOSCOPEVIEW_H
#define OSCILLOSCOPEVIEW_H
-#include <qframe.h>
+#include <tqframe.h>
class Oscilloscope;
class Simulator;
-class QMouseEvent;
-class QPaintEvent;
-class QPixmap;
-class QTimer;
+class TQMouseEvent;
+class TQPaintEvent;
+class TQPixmap;
+class TQTimer;
/**
@author David Saxton
*/
-class OscilloscopeView : public QFrame
+class OscilloscopeView : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- OscilloscopeView( QWidget *parent, const char *name = 0 );
+ OscilloscopeView( TQWidget *tqparent, const char *name = 0 );
virtual ~OscilloscopeView();
public slots:
/**
- * Sets the needRedraw flag to true, and then class repaint
+ * Sets the needRedraw flag to true, and then class tqrepaint
*/
void updateView();
void slotSetFrameRate( int fps );
@@ -41,20 +42,20 @@ class OscilloscopeView : public QFrame
void updateViewTimeout();
protected:
- virtual void mousePressEvent( QMouseEvent *event );
- virtual void mouseMoveEvent( QMouseEvent *event );
- virtual void mouseReleaseEvent( QMouseEvent *event );
- virtual void paintEvent( QPaintEvent *event );
- virtual void resizeEvent( QResizeEvent *event );
+ virtual void mousePressEvent( TQMouseEvent *event );
+ virtual void mouseMoveEvent( TQMouseEvent *event );
+ virtual void mouseReleaseEvent( TQMouseEvent *event );
+ virtual void paintEvent( TQPaintEvent *event );
+ virtual void resizeEvent( TQResizeEvent *event );
- void drawLogicData( QPainter & p );
- void drawFloatingData( QPainter & p );
+ void drawLogicData( TQPainter & p );
+ void drawFloatingData( TQPainter & p );
void updateOutputHeight();
void updateTimeLabel();
bool b_needRedraw;
- QPixmap *m_pixmap;
- QTimer *m_updateViewTmr;
+ TQPixmap *m_pixmap;
+ TQTimer *m_updateViewTmr;
int m_fps;
int m_sliderValueAtClick;
int m_clickOffsetPos;