summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 23:32:33 +0900
commit2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (patch)
tree4b6680c122d01a94bbd0b50c449b282a8d73fa8a /atlantik
parent6022ab632c2ecf160a9f6f1fbb532506aeca3633 (diff)
downloadtdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.tar.gz
tdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/libatlantikui/estatedetails.cpp4
-rw-r--r--atlantik/libatlantikui/estateview.cpp4
-rw-r--r--atlantik/libatlantikui/portfolioview.cpp2
-rw-r--r--atlantik/libatlantikui/token.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/atlantik/libatlantikui/estatedetails.cpp b/atlantik/libatlantikui/estatedetails.cpp
index 03ff0f13..cc271752 100644
--- a/atlantik/libatlantikui/estatedetails.cpp
+++ b/atlantik/libatlantikui/estatedetails.cpp
@@ -114,7 +114,7 @@ void EstateDetails::paintEvent(TQPaintEvent *)
TQColor greenHouse(0, 255, 0);
TQColor redHotel(255, 51, 51);
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(m_pixmap), this);
+ painter.begin(m_pixmap, this);
painter.setPen(TQt::black);
@@ -136,7 +136,7 @@ void EstateDetails::paintEvent(TQPaintEvent *)
quartzBuffer->resize(25, (height()/4)-2);
TQPainter quartzPainter;
- quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this);
+ quartzPainter.begin(quartzBuffer, this);
painter.setBrush(titleColor);
painter.drawRect(0, 0, width(), titleHeight);
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp
index 47f96572..193ace17 100644
--- a/atlantik/libatlantikui/estateview.cpp
+++ b/atlantik/libatlantikui/estateview.cpp
@@ -255,7 +255,7 @@ void EstateView::paintEvent(TQPaintEvent *)
TQColor greenHouse(0, 255, 0);
TQColor redHotel(255, 51, 51);
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(qpixmap), this);
+ painter.begin(qpixmap, this);
painter.setPen(TQt::black);
@@ -281,7 +281,7 @@ void EstateView::paintEvent(TQPaintEvent *)
quartzBuffer->resize(m_titleWidth-2, 25);
TQPainter quartzPainter;
- quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this);
+ quartzPainter.begin(quartzBuffer, this);
painter.setBrush(m_estate->color());
switch(m_orientation)
diff --git a/atlantik/libatlantikui/portfolioview.cpp b/atlantik/libatlantikui/portfolioview.cpp
index cec443e7..7ff1a4c0 100644
--- a/atlantik/libatlantikui/portfolioview.cpp
+++ b/atlantik/libatlantikui/portfolioview.cpp
@@ -196,7 +196,7 @@ void PortfolioView::paintEvent(TQPaintEvent *)
qpixmap = new TQPixmap(width(), height());
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(qpixmap), this);
+ painter.begin(qpixmap, this);
painter.setPen(TQt::white);
painter.setBrush(TQt::white);
diff --git a/atlantik/libatlantikui/token.cpp b/atlantik/libatlantikui/token.cpp
index d6534df5..c89d3f49 100644
--- a/atlantik/libatlantikui/token.cpp
+++ b/atlantik/libatlantikui/token.cpp
@@ -127,7 +127,7 @@ void Token::paintEvent(TQPaintEvent *)
qpixmap = new TQPixmap(width(), height());
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(qpixmap), this);
+ painter.begin(qpixmap, this);
if (m_image)
{