summaryrefslogtreecommitdiffstats
path: root/kmahjongg
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:02:18 +0900
commit4243c1195d662a4e6e0971cef547520ece2c6673 (patch)
treec2ad6162439ea0d563c5a094be51a756340b33ab /kmahjongg
parent05581ab8401a949370656e30b27918af89675edc (diff)
downloadtdegames-4243c1195d662a4e6e0971cef547520ece2c6673.tar.gz
tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmahjongg')
-rw-r--r--kmahjongg/Preview.cpp4
-rw-r--r--kmahjongg/boardwidget.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kmahjongg/Preview.cpp b/kmahjongg/Preview.cpp
index 725e0a93..8ae93977 100644
--- a/kmahjongg/Preview.cpp
+++ b/kmahjongg/Preview.cpp
@@ -448,11 +448,11 @@ void FrameImage::paintEvent( TQPaintEvent* pa )
TQPen line;
- line.setStyle(Qt::DotLine);
+ line.setStyle(TQt::DotLine);
line.setWidth(2);
line.setColor(yellow);
p.setPen(line);
- p.setBackgroundMode(Qt::OpaqueMode);
+ p.setBackgroundMode(TQt::OpaqueMode);
p.setBackgroundColor(black);
int x = pa->rect().left();
diff --git a/kmahjongg/boardwidget.cpp b/kmahjongg/boardwidget.cpp
index 8bf8256a..08e9f4e7 100644
--- a/kmahjongg/boardwidget.cpp
+++ b/kmahjongg/boardwidget.cpp
@@ -440,7 +440,7 @@ void BoardWidget::stackTiles(unsigned char t, unsigned short h, unsigned short x
int ss = theTiles.shadowSize();
TQPainter p(&backBuffer);
TQPen line;
- p.setBackgroundMode(Qt::OpaqueMode);
+ p.setBackgroundMode(TQt::OpaqueMode);
p.setBackgroundColor(black);
@@ -1623,7 +1623,7 @@ void BoardWidget::mousePressEvent ( TQMouseEvent* event )
if (gamePaused)
return;
- if( event->button() == Qt::LeftButton )
+ if( event->button() == TQt::LeftButton )
{
if( TimerState == Demo )
{