summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/BarGraph.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksysguard/gui/SensorDisplayLib/BarGraph.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/BarGraph.h')
-rw-r--r--ksysguard/gui/SensorDisplayLib/BarGraph.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/BarGraph.h b/ksysguard/gui/SensorDisplayLib/BarGraph.h
index aca20c629..744faf777 100644
--- a/ksysguard/gui/SensorDisplayLib/BarGraph.h
+++ b/ksysguard/gui/SensorDisplayLib/BarGraph.h
@@ -24,9 +24,9 @@
#ifndef KSG_BARGRAPH_H
#define KSG_BARGRAPH_H
-#include <qmemarray.h>
-#include <qptrvector.h>
-#include <qwidget.h>
+#include <tqmemarray.h>
+#include <tqptrvector.h>
+#include <tqwidget.h>
class BarGraph : public QWidget
{
@@ -35,13 +35,13 @@ class BarGraph : public QWidget
friend class DancingBars;
public:
- BarGraph( QWidget *parent, const char *name = 0 );
+ BarGraph( TQWidget *parent, const char *name = 0 );
~BarGraph();
- bool addBar( const QString &footer );
+ bool addBar( const TQString &footer );
bool removeBar( uint idx );
- void updateSamples( const QMemArray<double> &newSamples );
+ void updateSamples( const TQMemArray<double> &newSamples );
double getMin() const
{
@@ -72,7 +72,7 @@ class BarGraph : public QWidget
void changeRange( double min, double max );
protected:
- virtual void paintEvent( QPaintEvent* );
+ virtual void paintEvent( TQPaintEvent* );
private:
double minValue;
@@ -82,12 +82,12 @@ class BarGraph : public QWidget
double upperLimit;
bool upperLimitActive;
bool autoRange;
- QMemArray<double> samples;
- QStringList footers;
+ TQMemArray<double> samples;
+ TQStringList footers;
uint bars;
- QColor normalColor;
- QColor alarmColor;
- QColor backgroundColor;
+ TQColor normalColor;
+ TQColor alarmColor;
+ TQColor backgroundColor;
int fontSize;
};