diff options
Diffstat (limited to 'src/src/chart.h')
-rw-r--r-- | src/src/chart.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/src/chart.h b/src/src/chart.h index 2e89540..346eb40 100644 --- a/src/src/chart.h +++ b/src/src/chart.h @@ -21,16 +21,16 @@ #ifndef CHART_H #define CHART_H -#include <qwidget.h> +#include <tqwidget.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); - QSize sizeHint() { return QSize(200, 100); } + Chart(TQWidget* tqparent, const double* uploadBuffer, const double* downloadBuffer, int bufferSize, const int* ptr, const double* maxspeed); + TQSize tqsizeHint() { return TQSize(200, 100); } protected: - void paintEvent( QPaintEvent* ev ); + void paintEvent( TQPaintEvent* ev ); private: const double* mUplBuffer; |