diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksysguard/gui/SensorDisplayLib/FancyPlotter.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/FancyPlotter.h')
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/FancyPlotter.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotter.h b/ksysguard/gui/SensorDisplayLib/FancyPlotter.h index d19c28760..ddb5f7328 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotter.h +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotter.h @@ -34,16 +34,16 @@ class FPSensorProperties : public KSGRD::SensorProperties { public: FPSensorProperties(); - FPSensorProperties( const QString &hostName, const QString &name, - const QString &type, const QString &description, - const QColor &color ); + FPSensorProperties( const TQString &hostName, const TQString &name, + const TQString &type, const TQString &description, + const TQColor &color ); ~FPSensorProperties(); - void setColor( const QColor &color ); - QColor color() const; + void setColor( const TQColor &color ); + TQColor color() const; private: - QColor mColor; + TQColor mColor; }; class FancyPlotter : public KSGRD::SensorDisplay @@ -51,27 +51,27 @@ class FancyPlotter : public KSGRD::SensorDisplay Q_OBJECT public: - FancyPlotter( QWidget* parent = 0, const char* name = 0, - const QString& title = QString::null, double min = 0, + FancyPlotter( TQWidget* parent = 0, const char* name = 0, + const TQString& title = TQString::null, double min = 0, double max = 100, bool noFrame = false, bool isApplet = false ); virtual ~FancyPlotter(); void configureSettings(); - bool addSensor( const QString &hostName, const QString &name, - const QString &type, const QString &title ); - bool addSensor( const QString &hostName, const QString &name, - const QString &type, const QString &title, - const QColor &color ); + bool addSensor( const TQString &hostName, const TQString &name, + const TQString &type, const TQString &title ); + bool addSensor( const TQString &hostName, const TQString &name, + const TQString &type, const TQString &title, + const TQColor &color ); bool removeSensor( uint pos ); - virtual QSize sizeHint(void); + virtual TQSize sizeHint(void); - virtual void answerReceived( int id, const QString &answer ); + virtual void answerReceived( int id, const TQString &answer ); - virtual bool restoreSettings( QDomElement &element ); - virtual bool saveSettings( QDomDocument &doc, QDomElement &element, + virtual bool restoreSettings( TQDomElement &element ); + virtual bool saveSettings( TQDomDocument &doc, TQDomElement &element, bool save = true ); virtual bool hasSettingsDialog() const; @@ -82,7 +82,7 @@ class FancyPlotter : public KSGRD::SensorDisplay void killDialog(); protected: - virtual void resizeEvent( QResizeEvent* ); + virtual void resizeEvent( TQResizeEvent* ); private: uint mBeams; @@ -97,7 +97,7 @@ class FancyPlotter : public KSGRD::SensorDisplay received. The flags variable is used to ensure that all samples have been received. */ - QValueList<double> mSampleBuf; + TQValueList<double> mSampleBuf; }; #endif |