summaryrefslogtreecommitdiffstats
path: root/konquest/gameenddlg.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /konquest/gameenddlg.cc
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'konquest/gameenddlg.cc')
-rw-r--r--konquest/gameenddlg.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/konquest/gameenddlg.cc b/konquest/gameenddlg.cc
index 637e9dc3..726f0561 100644
--- a/konquest/gameenddlg.cc
+++ b/konquest/gameenddlg.cc
@@ -1,5 +1,5 @@
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqslider.h>
#include <tqvbox.h>
@@ -20,7 +20,7 @@ GameEndDlg::GameEndDlg( TQWidget *parent )
// Create controls
TQLabel *label1 = new TQLabel( i18n("This is the last turn.\nDo you wish to add extra turns?")+"\n\n", page );
- label1->setAlignment( AlignCenter );
+ label1->tqsetAlignment( AlignCenter );
turnCountLbl = new TQLabel( page );
turnCount = new TQSlider( 1, 40, 1, 5, Qt::Horizontal, page );
@@ -71,6 +71,6 @@ GameEndDlg::extraTurns()
void
GameEndDlg::turnCountChange( int newTurnCount )
{
- TQString newLbl = i18n("Extra turns: %1").arg( newTurnCount );
+ TQString newLbl = i18n("Extra turns: %1").tqarg( newTurnCount );
turnCountLbl->setText( newLbl);
}