diff options
Diffstat (limited to 'ksirc/KSTicker/ksticker.cpp')
-rw-r--r-- | ksirc/KSTicker/ksticker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/KSTicker/ksticker.cpp b/ksirc/KSTicker/ksticker.cpp index f6afc2a1..1183e414 100644 --- a/ksirc/KSTicker/ksticker.cpp +++ b/ksirc/KSTicker/ksticker.cpp @@ -231,7 +231,7 @@ void KSTicker::timerEvent(TQTimerEvent *) } bAtEnd = FALSE; - static Qt::BGMode bgmode = Qt::TransparentMode; + static TQt::BGMode bgmode = TQt::TransparentMode; bitBlt(pic, -tickStep, 0, pic); TQPainter p(pic); @@ -275,12 +275,12 @@ void KSTicker::timerEvent(TQTimerEvent *) int col = buf.toInt(); if((col >= 0) || (col <= KSPainter::maxcolour)){ bg = KSPainter::num2colour[col]; - bgmode = Qt::OpaqueMode; + bgmode = TQt::OpaqueMode; } } } else{ - bgmode = Qt::TransparentMode; + bgmode = TQt::TransparentMode; } } else { @@ -352,7 +352,7 @@ void KSTicker::timerEvent(TQTimerEvent *) p.setPen(fg); p.setBackgroundColor(bg); - p.setBackgroundMode(Qt::OpaqueMode); + p.setBackgroundMode(TQt::OpaqueMode); p.drawText(this->width() - cOffset + onechar, // remove -onechar. this->height() / 4 + p.fontMetrics().height() / 2, currentStr.mid(currentChar, 1), @@ -415,7 +415,7 @@ void KSTicker::mouseDoubleClickEvent( TQMouseEvent * ) void KSTicker::mousePressEvent( TQMouseEvent *e) { - if(e->button() == Qt::RightButton){ + if(e->button() == TQt::RightButton){ popup->popup(this->cursor().pos()); } else{ |