summaryrefslogtreecommitdiffstats
path: root/twin/clients/web
diff options
context:
space:
mode:
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_);
}