summaryrefslogtreecommitdiffstats
path: root/twin/clients/web
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-08-05 15:50:55 +0300
committerMichele Calgaro <[email protected]>2023-08-12 14:01:03 +0900
commit83e74d1e550db6a814ec252968b601f6a9b14f9b (patch)
treef5b58985811f820f89cdb2564711ce04a744af37 /twin/clients/web
parent42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff)
downloadtdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz
tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'twin/clients/web')
-rw-r--r--twin/clients/web/Web.cpp2
-rw-r--r--twin/clients/web/WebButton.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/twin/clients/web/Web.cpp b/twin/clients/web/Web.cpp
index b40432939..5c2457e1c 100644
--- a/twin/clients/web/Web.cpp
+++ b/twin/clients/web/Web.cpp
@@ -230,7 +230,7 @@ WebClient::paintEvent(TQPaintEvent * pe)
TQPainter p(widget());
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
p.setBrush(options()->colorGroup(ColorFrame, isActive()).background());
p.setClipRegion(pe->region() - titleRect);
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_);
}