summaryrefslogtreecommitdiffstats
path: root/src/qlcddraw.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/qlcddraw.h
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/qlcddraw.h')
-rw-r--r--src/qlcddraw.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/qlcddraw.h b/src/qlcddraw.h
index c830066..a02a340 100644
--- a/src/qlcddraw.h
+++ b/src/qlcddraw.h
@@ -16,14 +16,14 @@
***************************************************************************/
-#ifndef QLCDDRAW_H
-#define QLCDDRAW_H
+#ifndef TQLCDDRAW_H
+#define TQLCDDRAW_H
-#include <qpainter.h>
-#include <qcolor.h>
+#include <ntqpainter.h>
+#include <ntqcolor.h>
-class QLcd {
+class TQLcd {
public:
@@ -41,15 +41,15 @@ public:
};
- static int draw(QPainter *painter,
+ static int draw(TQPainter *painter,
int x, int y,
int w, int h,
const char *str,
int options=0,
- const QColor *color=0,
- const QColor *colorShadow=0);
+ const TQColor *color=0,
+ const TQColor *colorShadow=0);
- static void draw(QPainter *p,int x,int y,int w,int h, char c);
+ static void draw(TQPainter *p,int x,int y,int w,int h, char c);
static inline int charWidth(int height) { return (height * 3) / 4; };
static inline int strWidth(const char *str,int height) { return strlen(str)*charWidth(height); };
@@ -59,7 +59,7 @@ private:
static const uint asciiSegments[128];
static const int segmentsCoords[32][8];
- static void drawSegment(QPainter *p,const int *c, int x, int y, int w, int h);
+ static void drawSegment(TQPainter *p,const int *c, int x, int y, int w, int h);
};