summaryrefslogtreecommitdiffstats
path: root/src/chart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chart.h')
-rw-r--r--src/chart.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chart.h b/src/chart.h
index 8757261..bf41378 100644
--- a/src/chart.h
+++ b/src/chart.h
@@ -23,16 +23,16 @@
#ifndef CHART_H
#define CHART_H
-#include <qwidget.h>
+#include <ntqwidget.h>
-class QPaintEvent;
+class TQPaintEvent;
-class Chart : public QWidget {
+class Chart : public TQWidget {
public:
- Chart(QWidget* parent, const double* uploadBuffer, const double* downloadBuffer, int bufferSize, const int* ptr, const double* maxspeed, const double* sys_uploadBuffer, const double* sys_downloadBuffer, int sys_bufferSize, const int* sys_ptr, const double* sys_maxspeed, bool gotEth0);
- QSize sizeHint() { return QSize(600, 25); }
+ Chart(TQWidget* parent, const double* uploadBuffer, const double* downloadBuffer, int bufferSize, const int* ptr, const double* maxspeed, const double* sys_uploadBuffer, const double* sys_downloadBuffer, int sys_bufferSize, const int* sys_ptr, const double* sys_maxspeed, bool gotEth0);
+ TQSize sizeHint() { return TQSize(600, 25); }
protected:
- void paintEvent( QPaintEvent* ev );
+ void paintEvent( TQPaintEvent* ev );
private:
const double* mUplBuffer;