diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 16:57:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 18:48:46 +0200 |
commit | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch) | |
tree | 4655c7263ca5c64d23d10167cb459dd9cb253815 /src/chart.h | |
parent | 88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff) | |
download | tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip |
Initial TQt conversion
Diffstat (limited to 'src/chart.h')
-rw-r--r-- | src/chart.h | 12 |
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; |