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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp
index 68b49c254..655c2e71a 100644
--- a/examples/tetrix/qtetrix.cpp
+++ b/examples/tetrix/qtetrix.cpp
@@ -111,12 +111,12 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
showLines->setFrameStyle(TQFrame::Sunken|TQFrame::Box);
showLevel->setFrameStyle(TQFrame::Sunken|TQFrame::Box);
#endif
- tquitButton = new TQPushButton("&Quit",this);
+ quitButton = new TQPushButton("&Quit",this);
startButton = new TQPushButton("&New Game",this);
pauseButton = new TQPushButton("&Pause",this);
// Don't let the buttons get keyboard focus
- tquitButton->setFocusPolicy( TQWidget::NoFocus );
+ quitButton->setFocusPolicy( TQWidget::NoFocus );
startButton->setFocusPolicy( TQWidget::NoFocus );
pauseButton->setFocusPolicy( TQWidget::NoFocus );
@@ -140,7 +140,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
SLOT(setNum(int)));
#endif
connect( startButton, SIGNAL(clicked()), board, SLOT(start()) );
- connect( tquitButton , SIGNAL(clicked()), SLOT(tquit()));
+ connect( quitButton , SIGNAL(clicked()), SLOT(quit()));
connect( pauseButton, SIGNAL(clicked()), board, SLOT(pause()) );
board->setGeometry( 150, 20, 153, 333 );
@@ -158,7 +158,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name )
showLines->setNum( 0 );
#endif
startButton->setGeometry( 46, 288, 90, 30 );
- tquitButton->setGeometry( 370, 265, 90, 30 );
+ quitButton->setGeometry( 370, 265, 90, 30 );
pauseButton->setGeometry( 370, 310, 90, 30 );
board->revealNextPiece(TRUE);
@@ -170,7 +170,7 @@ void TQTetrix::gameOver()
}
-void TQTetrix::tquit()
+void TQTetrix::quit()
{
- qApp->tquit();
+ qApp->quit();
}