diff options
Diffstat (limited to 'src/lmsensordockpanel.h')
-rw-r--r-- | src/lmsensordockpanel.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lmsensordockpanel.h b/src/lmsensordockpanel.h index e8cb9fe..f55815c 100644 --- a/src/lmsensordockpanel.h +++ b/src/lmsensordockpanel.h @@ -20,8 +20,8 @@ #include <ksystemtray.h> -#include <kpopupmenu.h> -#include <qcolor.h> +#include <tdepopupmenu.h> +#include <ntqcolor.h> #include "qlcddraw.h" @@ -38,12 +38,12 @@ public: LMSensorDockPanel(Sensor *newSensor=0, const char *name=0); ~LMSensorDockPanel(); - static void writeColorAlarm (const char *name, const QColor &color); - static void writeColorNormal(const char *name, const QColor &color); + static void writeColorAlarm (const char *name, const TQColor &color); + static void writeColorNormal(const char *name, const TQColor &color); static void writeShowInDock (const char *name, bool fShow); - static QColor readColorAlarm (const char *name); - static QColor readColorNormal(const char *name); + static TQColor readColorAlarm (const char *name); + static TQColor readColorNormal(const char *name); static bool readShowInDock (const char *name); public slots: @@ -53,19 +53,19 @@ public slots: signals: - void mouseEvent(QMouseEvent *e); + void mouseEvent(TQMouseEvent *e); protected: - void paintEvent ( QPaintEvent * ); - void mousePressEvent ( QMouseEvent * ); - void mouseReleaseEvent ( QMouseEvent * ); + void paintEvent ( TQPaintEvent * ); + void mousePressEvent ( TQMouseEvent * ); + void mouseReleaseEvent ( TQMouseEvent * ); private: Sensor *sensor; - QString strValue; - QColor colorNormal,colorAlarm; + TQString strValue; + TQColor colorNormal,colorAlarm; }; |