From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- examples/tetrix/qtetrix.cpp | 6 +++--- examples/tetrix/qtetrix.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/tetrix') 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; -- cgit v1.2.1