summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/DancingBars.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/DancingBars.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/DancingBars.h')
-rw-r--r--ksysguard/gui/SensorDisplayLib/DancingBars.h26
1 files changed, 13 insertions, 13 deletions
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 <SensorDisplay.h>
-#include <qbitarray.h>
+#include <tqbitarray.h>
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<double> &samples );
+ void updateSamples( const TQMemArray<double> &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<double> mSampleBuffer;
- QBitArray mFlags;
+ TQMemArray<double> mSampleBuffer;
+ TQBitArray mFlags;
};
#endif