summaryrefslogtreecommitdiffstats
path: root/src/lmsensordockpanel.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
commit24857cad8e92c27bc7d7377549ae887adbeccc58 (patch)
treee8aa2577506c17c68286ec1b65ae31b89ea0556b /src/lmsensordockpanel.h
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/lmsensordockpanel.h')
-rw-r--r--src/lmsensordockpanel.h24
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;
};