From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysguard/gui/SensorDisplayLib/BarGraph.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/BarGraph.h') 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 -#include -#include +#include +#include +#include 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 &newSamples ); + void updateSamples( const TQMemArray &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 samples; - QStringList footers; + TQMemArray samples; + TQStringList footers; uint bars; - QColor normalColor; - QColor alarmColor; - QColor backgroundColor; + TQColor normalColor; + TQColor alarmColor; + TQColor backgroundColor; int fontSize; }; -- cgit v1.2.3