summaryrefslogtreecommitdiffstats
path: root/src/qlcdraw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qlcdraw.cpp')
-rw-r--r--src/qlcdraw.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qlcdraw.cpp b/src/qlcdraw.cpp
index 26c68d4..97c16a3 100644
--- a/src/qlcdraw.cpp
+++ b/src/qlcdraw.cpp
@@ -18,7 +18,7 @@
#include "qlcddraw.h"
-const uint QLcd::asciiSegments[128]=
+const uint TQLcd::asciiSegments[128]=
{
0x00000000, // 0
0x00000000, // 1 // From 1-31 maybe for future use (to draw symbols)
@@ -151,7 +151,7 @@ const uint QLcd::asciiSegments[128]=
};
-const int QLcd::segmentsCoords[32][8]=
+const int TQLcd::segmentsCoords[32][8]=
{
{ 0,0, 1,0, -1 }, // 00
{ 1,0, 2,0, -1 },
@@ -189,7 +189,7 @@ const int QLcd::segmentsCoords[32][8]=
-void QLcd::drawSegment(QPainter *p,const int *c, int x, int y, int w, int h)
+void TQLcd::drawSegment(TQPainter *p,const int *c, int x, int y, int w, int h)
{
h--;
p->moveTo( x+(c[0]*w)/2 , y+(c[1]*h)/4 );
@@ -201,7 +201,7 @@ void QLcd::drawSegment(QPainter *p,const int *c, int x, int y, int w, int h)
}
-void QLcd::draw(QPainter *p,int x,int y,int w,int h, char c)
+void TQLcd::draw(TQPainter *p,int x,int y,int w,int h, char c)
{
uint mask= asciiSegments[(uint)c&0x007F];
@@ -217,7 +217,7 @@ uint mask= asciiSegments[(uint)c&0x007F];
-int QLcd::draw(QPainter *painter,int x, int y, int w, int h,const char *str, int options, const QColor *color, const QColor *colorShadow)
+int TQLcd::draw(TQPainter *painter,int x, int y, int w, int h,const char *str, int options, const TQColor *color, const TQColor *colorShadow)
{
int len= strlen(str)<<1;