diff options
Diffstat (limited to 'ksirc/KSTicker/kspainter.cpp')
-rw-r--r-- | ksirc/KSTicker/kspainter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/KSTicker/kspainter.cpp b/ksirc/KSTicker/kspainter.cpp index e9e63bce..2b8f83a8 100644 --- a/ksirc/KSTicker/kspainter.cpp +++ b/ksirc/KSTicker/kspainter.cpp @@ -109,7 +109,7 @@ void KSPainter::colourDrawText(TQPainter *p, int startx, int starty, } if(bcolour < maxcolour ){ p->setBackgroundColor(num2colour[bcolour]); - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); } } @@ -118,7 +118,7 @@ void KSPainter::colourDrawText(TQPainter *p, int startx, int starty, else if(str[i] == 0x03){ i++; p->setPen(qpDefPen); - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); } else if((str[i] == '~') && ((str[i+1] >= 0x61) || (str[i+1] <= 0x7a))){ TQFont fnt = p->font(); @@ -126,11 +126,11 @@ void KSPainter::colourDrawText(TQPainter *p, int startx, int starty, switch(str[i+1]){ case 'c': p->setPen(qpDefPen); - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); break; case 'C': p->setPen(qpDefPen); - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); fnt.setBold(FALSE); fnt.setItalic(FALSE); fnt.setUnderline(FALSE); @@ -139,11 +139,11 @@ void KSPainter::colourDrawText(TQPainter *p, int startx, int starty, case 'r': if(ReverseText == TRUE) { ReverseText = FALSE; - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); } else { ReverseText = TRUE; - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); } temppen = p->pen().color(); p->setPen( p->backgroundColor() ); |