summaryrefslogtreecommitdiffstats
path: root/twin/clients/web/WebButton.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-08-05 15:50:55 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 14:01:03 +0900
commit83e74d1e550db6a814ec252968b601f6a9b14f9b (patch)
treef5b58985811f820f89cdb2564711ce04a744af37 /twin/clients/web/WebButton.cpp
parent42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff)
downloadtdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz
tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin/clients/web/WebButton.cpp')
-rw-r--r--twin/clients/web/WebButton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/clients/web/WebButton.cpp b/twin/clients/web/WebButton.cpp
index f8d1c4add..eb6d8d530 100644
--- a/twin/clients/web/WebButton.cpp
+++ b/twin/clients/web/WebButton.cpp
@@ -170,7 +170,7 @@ WebButton::drawButton(TQPainter *p)
{
// Draw edge.
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->drawLine(0, 0, width(), 0);
p->drawLine(0, 1, 0, height() - 1);
@@ -207,7 +207,7 @@ WebButton::drawButton(TQPainter *p)
{
// Draw edge.
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->drawLine(0, 0, width(), 0);
p->drawLine(width() - 1, 1, width() - 1, height() - 1);
if (shape_)
@@ -244,7 +244,7 @@ WebButton::drawButton(TQPainter *p)
{
// Draw edge.
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->drawLine(0, 0, width(), 0);
// Draw highlight.
@@ -266,7 +266,7 @@ WebButton::drawButton(TQPainter *p)
int bhby2(bitmap_.height() / 2); // Bitmap Height BY 2
p->setBrush(NoBrush);
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->drawPixmap(center.x() - bwby2 + 1, center.y() - bhby2 + 1, bitmap_);
}