summaryrefslogtreecommitdiffstats
path: root/examples/tetrix
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /examples/tetrix
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/tetrix')
-rw-r--r--examples/tetrix/qtetrix.cpp6
-rw-r--r--examples/tetrix/qtetrix.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp
index dd709c5b0..bd624b4ab 100644
--- a/examples/tetrix/qtetrix.cpp
+++ b/examples/tetrix/qtetrix.cpp
@@ -96,7 +96,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
board = new TQTetrixBoard(this);
showNext = new ShowNextPiece(this);
-#ifndef QT_NO_LCDNUMBER
+#ifndef TQT_NO_LCDNUMBER
showScore = new TQLCDNumber(5,this);
showLevel = new TQLCDNumber(2,this);
showLines = new TQLCDNumber(5,this);
@@ -124,7 +124,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
connect( board, SIGNAL(drawNextSquareSignal(int,int,TQColor*)), showNext,
SLOT(drawNextSquare(int,int,TQColor*)) );
connect( showNext, SIGNAL(update()), board, SLOT(updateNext()) );
-#ifndef QT_NO_LCDNUMBER
+#ifndef TQT_NO_LCDNUMBER
connect( board, SIGNAL(updateScoreSignal(int)), showScore,
SLOT(display(int)) );
connect( board, SIGNAL(updateLevelSignal(int)), showLevel,
@@ -148,7 +148,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
showScore->setGeometry( 330, 40, 178, 93 );
showLevel->setGeometry( 50, 160, 78, 93 );
showLines->setGeometry( 330, 160, 178, 93 );
-#ifndef QT_NO_LCDNUMBER
+#ifndef TQT_NO_LCDNUMBER
showScore->display( 0 );
showLevel->display( 0 );
showLines->display( 0 );
diff --git a/examples/tetrix/qtetrix.h b/examples/tetrix/qtetrix.h
index 3fc9f4297..b0731c872 100644
--- a/examples/tetrix/qtetrix.h
+++ b/examples/tetrix/qtetrix.h
@@ -52,7 +52,7 @@ private:
TQTetrixBoard *board;
ShowNextPiece *showNext;
-#ifndef QT_NO_LCDNUMBER
+#ifndef TQT_NO_LCDNUMBER
TQLCDNumber *showScore;
TQLCDNumber *showLevel;
TQLCDNumber *showLines;