summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/tictac/tictac.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp
index e887b00..20cc942 100644
--- a/noncore/games/tictac/tictac.cpp
+++ b/noncore/games/tictac/tictac.cpp
@@ -307,34 +307,34 @@ TicTacToe::TicTacToe( int boardSize, QWidget *parent, const char *name )
307 l->addWidget( board ); 307 l->addWidget( board );
308 308
309 // Create a horizontal frame line 309 // Create a horizontal frame line
310 310
311 QFrame *line = new QFrame( this ); 311 QFrame *line = new QFrame( this );
312 line->setFrameStyle( QFrame::HLine | QFrame::Sunken ); 312 line->setFrameStyle( QFrame::HLine | QFrame::Sunken );
313 l->addWidget( line ); 313 l->addWidget( line );
314 314
315 // Create the combo box for deciding who should start, and 315 // Create the combo box for deciding who should start, and
316 // connect its clicked() signals to the buttonClicked() slot 316 // connect its clicked() signals to the buttonClicked() slot
317 317
318 whoStarts = new QComboBox( this ); 318 whoStarts = new QComboBox( this );
319 whoStarts->insertItem( "Computer starts" ); 319 whoStarts->insertItem( tr( "Computer starts" ) );
320 whoStarts->insertItem( "Human starts" ); 320 whoStarts->insertItem( tr( "Human starts" ) );
321 l->addWidget( whoStarts ); 321 l->addWidget( whoStarts );
322 322
323 // Create the push buttons and connect their clicked() signals 323 // Create the push buttons and connect their clicked() signals
324 // to this right slots. 324 // to this right slots.
325 325
326 newGame = new QPushButton( "Play!", this ); 326 newGame = new QPushButton( tr( "Play!" ), this );
327 connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) ); 327 connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) );
328 quit = new QPushButton( "Quit", this ); 328 quit = new QPushButton( tr( "Quit" ), this );
329 connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); 329 connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
330 QHBoxLayout * b = new QHBoxLayout; 330 QHBoxLayout * b = new QHBoxLayout;
331 l->addLayout( b ); 331 l->addLayout( b );
332 b->addWidget( newGame ); 332 b->addWidget( newGame );
333 b->addWidget( quit ); 333 b->addWidget( quit );
334showMaximized(); 334showMaximized();
335 newState(); 335 newState();
336} 336}
337 337
338 338
339// -------------------------------------------------------------------------- 339// --------------------------------------------------------------------------
340 // TicTacToe::newGameClicked() - SLOT 340 // TicTacToe::newGameClicked() - SLOT