summaryrefslogtreecommitdiffstats
path: root/kmahjongg
diff options
context:
space:
mode:
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 )
{