diff options
Diffstat (limited to 'konquest/gameenddlg.cc')
-rw-r--r-- | konquest/gameenddlg.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/konquest/gameenddlg.cc b/konquest/gameenddlg.cc index 080a8477..2295acd9 100644 --- a/konquest/gameenddlg.cc +++ b/konquest/gameenddlg.cc @@ -1,7 +1,7 @@ -#include <qlabel.h> -#include <qlayout.h> -#include <qslider.h> -#include <qvbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqslider.h> +#include <tqvbox.h> #include <kapplication.h> #include <kconfig.h> @@ -11,23 +11,23 @@ #include "gameenddlg.h" #include "gameenddlg.moc" -GameEndDlg::GameEndDlg( QWidget *parent ) +GameEndDlg::GameEndDlg( TQWidget *parent ) : KDialogBase( i18n("Out of Turns"), KDialogBase::Yes|KDialogBase::No, KDialogBase::Yes, KDialogBase::No, parent, "end_game_dialog", true, true ) { - QVBox *page = makeVBoxMainWidget(); + TQVBox *page = makeVBoxMainWidget(); // Create controls - QLabel *label1 = new QLabel( i18n("This is the last turn.\nDo you wish to add extra turns?")+"\n\n", page ); + TQLabel *label1 = new TQLabel( i18n("This is the last turn.\nDo you wish to add extra turns?")+"\n\n", page ); label1->setAlignment( AlignCenter ); - turnCountLbl = new QLabel( page ); - turnCount = new QSlider( 1, 40, 1, 5, Qt::Horizontal, page ); + turnCountLbl = new TQLabel( page ); + turnCount = new TQSlider( 1, 40, 1, 5, Qt::Horizontal, page ); - KGuiItem addTurns(i18n("&Add Turns"), QString::null, QString::null, + KGuiItem addTurns(i18n("&Add Turns"), TQString::null, TQString::null, i18n("Add the specified number of turns to the game and continue playing.")); - KGuiItem gameOver(i18n("&Game Over"), QString::null, QString::null, + KGuiItem gameOver(i18n("&Game Over"), TQString::null, TQString::null, i18n("Terminate the current game.")); setButtonGuiItem(KDialogBase::Yes, addTurns); @@ -35,7 +35,7 @@ GameEndDlg::GameEndDlg( QWidget *parent ) init(); - connect( turnCount, SIGNAL(valueChanged( int )), this, SLOT(turnCountChange( int )) ); + connect( turnCount, TQT_SIGNAL(valueChanged( int )), this, TQT_SLOT(turnCountChange( int )) ); } GameEndDlg::~GameEndDlg() @@ -71,6 +71,6 @@ GameEndDlg::extraTurns() void GameEndDlg::turnCountChange( int newTurnCount ) { - QString newLbl = i18n("Extra turns: %1").arg( newTurnCount ); + TQString newLbl = i18n("Extra turns: %1").arg( newTurnCount ); turnCountLbl->setText( newLbl); } |