From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- examples/tictac/tictac.cpp | 6 +++--- examples/tictac/tictac.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/tictac') diff --git a/examples/tictac/tictac.cpp b/examples/tictac/tictac.cpp index 60cd0eb71..e3d15eeac 100644 --- a/examples/tictac/tictac.cpp +++ b/examples/tictac/tictac.cpp @@ -323,12 +323,12 @@ TicTacToe::TicTacToe( int boardSize, TQWidget *parent, const char *name ) newGame = new TQPushButton( "Play!", this ); connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) ); - tquit = new TQPushButton( "Quit", this ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + quit = new TQPushButton( "Quit", this ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQHBoxLayout * b = new TQHBoxLayout; l->addLayout( b ); b->addWidget( newGame ); - b->addWidget( tquit ); + b->addWidget( quit ); newState(); } diff --git a/examples/tictac/tictac.h b/examples/tictac/tictac.h index 876def88d..72de5278d 100644 --- a/examples/tictac/tictac.h +++ b/examples/tictac/tictac.h @@ -83,7 +83,7 @@ private: // -------------------------------------------------------------------------- // TicTacToe implements the complete game. // TicTacToe is a composite widget that contains a TicTacGameBoard and -// two push buttons for starting the game and tquitting. +// two push buttons for starting the game and quitting. // class TicTacToe : public TQWidget @@ -98,7 +98,7 @@ private: void newState(); TQComboBox *whoStarts; TQPushButton *newGame; - TQPushButton *tquit; + TQPushButton *quit; TQLabel *message; TicTacGameBoard *board; }; -- cgit v1.2.1