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/DancingBars.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/DancingBars.h') diff --git a/ksysguard/gui/SensorDisplayLib/DancingBars.h b/ksysguard/gui/SensorDisplayLib/DancingBars.h index ad671dfe7..7fa2c7456 100644 --- a/ksysguard/gui/SensorDisplayLib/DancingBars.h +++ b/ksysguard/gui/SensorDisplayLib/DancingBars.h @@ -25,7 +25,7 @@ #define KSG_DANCINGBARS_H #include -#include +#include class KIntNumInput; @@ -41,25 +41,25 @@ class DancingBars : public KSGRD::SensorDisplay Q_OBJECT public: - DancingBars( QWidget *parent = 0, const char *name = 0, - const QString &title = QString::null, int min = 0, + DancingBars( TQWidget *parent = 0, const char *name = 0, + const TQString &title = TQString::null, int min = 0, int max = 100, bool noFrame = false, bool isApplet = false ); virtual ~DancingBars(); void configureSettings(); - bool addSensor( const QString &hostName, const QString &name, - const QString &type, const QString &title ); + bool addSensor( const TQString &hostName, const TQString &name, + const TQString &type, const TQString &title ); bool removeSensor( uint pos ); - void updateSamples( const QMemArray &samples ); + void updateSamples( const TQMemArray &samples ); - virtual QSize sizeHint(); + virtual TQSize sizeHint(); - virtual void answerReceived( int id, const QString &answer ); + virtual void answerReceived( int id, const TQString &answer ); - bool restoreSettings( QDomElement& ); - bool saveSettings( QDomDocument&, QDomElement&, bool save = true ); + bool restoreSettings( TQDomElement& ); + bool saveSettings( TQDomDocument&, TQDomElement&, bool save = true ); virtual bool hasSettingsDialog() const; @@ -68,7 +68,7 @@ class DancingBars : public KSGRD::SensorDisplay virtual void applyStyle(); protected: - virtual void resizeEvent( QResizeEvent* ); + virtual void resizeEvent( TQResizeEvent* ); private: uint mBars; @@ -83,8 +83,8 @@ class DancingBars : public KSGRD::SensorDisplay received. The flags variable is used to ensure that all samples have been received. */ - QMemArray mSampleBuffer; - QBitArray mFlags; + TQMemArray mSampleBuffer; + TQBitArray mFlags; }; #endif -- cgit v1.2.1