diff options
Diffstat (limited to 'examples/tetrix/qtetrix.cpp')
-rw-r--r-- | examples/tetrix/qtetrix.cpp | 6 |
1 files changed, 3 insertions, 3 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 ); |