diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 17:21:24 +0900 |
| commit | 7367a616169a4ec8b35b5a993852c336aaeec25b (patch) | |
| tree | 2fd2b837621af51718278a66c8d5151fec1d77e8 /ksirc/KSTicker/ksticker.cpp | |
| parent | a14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff) | |
| download | tdenetwork-7367a616.tar.gz tdenetwork-7367a616.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
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{ |
