diff options
Diffstat (limited to 'konquest/gameboard.cc')
-rw-r--r-- | konquest/gameboard.cc | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/konquest/gameboard.cc b/konquest/gameboard.cc index 9f44f872..455ea03c 100644 --- a/konquest/gameboard.cc +++ b/konquest/gameboard.cc @@ -88,33 +88,33 @@ GameBoard::GameBoard( TQWidget *parent ) //******************************************************************** // Layout the main window //******************************************************************** - TQHBoxLayout *tqlayout1 = new TQHBoxLayout( this ); - TQVBoxLayout *tqlayout2 = new TQVBoxLayout; - TQHBoxLayout *tqlayout3 = new TQHBoxLayout; - TQVBoxLayout *tqlayout4 = new TQVBoxLayout; + TQHBoxLayout *layout1 = new TQHBoxLayout( this ); + TQVBoxLayout *layout2 = new TQVBoxLayout; + TQHBoxLayout *layout3 = new TQHBoxLayout; + TQVBoxLayout *layout4 = new TQVBoxLayout; - tqlayout1->addLayout( tqlayout2 ); - tqlayout2->addLayout( tqlayout3 ); + layout1->addLayout( layout2 ); + layout2->addLayout( layout3 ); - tqlayout3->addSpacing( 5 ); - tqlayout3->addWidget( gameMessage, 10 ); - tqlayout3->addWidget( shipCountEdit, 1 ); - tqlayout3->addWidget( endTurn, 1 ); + layout3->addSpacing( 5 ); + layout3->addWidget( gameMessage, 10 ); + layout3->addWidget( shipCountEdit, 1 ); + layout3->addWidget( endTurn, 1 ); - tqlayout2->addSpacing( 5 ); - tqlayout2->addWidget( mapWidget, 0, AlignTop ); - tqlayout2->addWidget( msgWidget ); - tqlayout2->addStretch( 1 ); + layout2->addSpacing( 5 ); + layout2->addWidget( mapWidget, 0, AlignTop ); + layout2->addWidget( msgWidget ); + layout2->addStretch( 1 ); - tqlayout1->addSpacing( 5 ); - tqlayout1->addLayout( tqlayout4, 10 ); + layout1->addSpacing( 5 ); + layout1->addLayout( layout4, 10 ); - tqlayout4->addWidget( planetInfo, 1 ); - tqlayout4->addSpacing( 10 ); - tqlayout4->addWidget( turnCounter, 1 ); - tqlayout4->addStretch( 1 ); + layout4->addWidget( planetInfo, 1 ); + layout4->addSpacing( 10 ); + layout4->addWidget( turnCounter, 1 ); + layout4->addStretch( 1 ); - tqlayout1->addStretch( 1 ); + layout1->addStretch( 1 ); //********************************************************************** // Set up signal/slot connections |