summaryrefslogtreecommitdiffstats
path: root/src/qlcddraw.h
diff options
context:
space:
mode:
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);
};