summaryrefslogtreecommitdiffstats
path: root/examples/tetrix/qtetrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tetrix/qtetrix.cpp')
-rw-r--r--examples/tetrix/qtetrix.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp
index bd624b4a..84941cbe 100644
--- a/examples/tetrix/qtetrix.cpp
+++ b/examples/tetrix/qtetrix.cpp
@@ -120,28 +120,28 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
startButton->setFocusPolicy( TQWidget::NoFocus );
pauseButton->setFocusPolicy( TQWidget::NoFocus );
- connect( board, SIGNAL(gameOverSignal()), SLOT(gameOver()) );
- connect( board, SIGNAL(drawNextSquareSignal(int,int,TQColor*)), showNext,
- SLOT(drawNextSquare(int,int,TQColor*)) );
- connect( showNext, SIGNAL(update()), board, SLOT(updateNext()) );
+ connect( board, TQ_SIGNAL(gameOverSignal()), TQ_SLOT(gameOver()) );
+ connect( board, TQ_SIGNAL(drawNextSquareSignal(int,int,TQColor*)), showNext,
+ TQ_SLOT(drawNextSquare(int,int,TQColor*)) );
+ connect( showNext, TQ_SIGNAL(update()), board, TQ_SLOT(updateNext()) );
#ifndef TQT_NO_LCDNUMBER
- connect( board, SIGNAL(updateScoreSignal(int)), showScore,
- SLOT(display(int)) );
- connect( board, SIGNAL(updateLevelSignal(int)), showLevel,
- SLOT(display(int)));
- connect( board, SIGNAL(updateRemovedSignal(int)), showLines,
- SLOT(display(int)));
+ connect( board, TQ_SIGNAL(updateScoreSignal(int)), showScore,
+ TQ_SLOT(display(int)) );
+ connect( board, TQ_SIGNAL(updateLevelSignal(int)), showLevel,
+ TQ_SLOT(display(int)));
+ connect( board, TQ_SIGNAL(updateRemovedSignal(int)), showLines,
+ TQ_SLOT(display(int)));
#else
- connect( board, SIGNAL(updateScoreSignal(int)), showScore,
- SLOT(setNum(int)) );
- connect( board, SIGNAL(updateLevelSignal(int)), showLevel,
- SLOT(setNum(int)));
- connect( board, SIGNAL(updateRemovedSignal(int)), showLines,
- SLOT(setNum(int)));
+ connect( board, TQ_SIGNAL(updateScoreSignal(int)), showScore,
+ TQ_SLOT(setNum(int)) );
+ connect( board, TQ_SIGNAL(updateLevelSignal(int)), showLevel,
+ TQ_SLOT(setNum(int)));
+ connect( board, TQ_SIGNAL(updateRemovedSignal(int)), showLines,
+ TQ_SLOT(setNum(int)));
#endif
- connect( startButton, SIGNAL(clicked()), board, SLOT(start()) );
- connect( quitButton , SIGNAL(clicked()), SLOT(quit()));
- connect( pauseButton, SIGNAL(clicked()), board, SLOT(pause()) );
+ connect( startButton, TQ_SIGNAL(clicked()), board, TQ_SLOT(start()) );
+ connect( quitButton , TQ_SIGNAL(clicked()), TQ_SLOT(quit()));
+ connect( pauseButton, TQ_SIGNAL(clicked()), board, TQ_SLOT(pause()) );
board->setGeometry( 150, 20, 153, 333 );
showNext->setGeometry( 50, 40, 78, 94 );