diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:20:47 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 01:10:54 +0200 |
commit | edee609d80715382db83adbc8b00c7f74793edcb (patch) | |
tree | b11a53fb2d6b02c5f7613b8fcd724f4b7d5837bf /kspaceduel | |
parent | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (diff) | |
download | tdegames-edee609d80715382db83adbc8b00c7f74793edcb.tar.gz tdegames-edee609d80715382db83adbc8b00c7f74793edcb.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 36770452958a79a095f9d9e605e79f66cfa79a2b)
Diffstat (limited to 'kspaceduel')
-rw-r--r-- | kspaceduel/dialogs.cpp | 8 | ||||
-rw-r--r-- | kspaceduel/topwidget.cpp | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/kspaceduel/dialogs.cpp b/kspaceduel/dialogs.cpp index 34194ad0..f7570ef9 100644 --- a/kspaceduel/dialogs.cpp +++ b/kspaceduel/dialogs.cpp @@ -130,7 +130,7 @@ ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) //box=new TQGroupBox(i18n("Config"),this); //setMainWidget( box ); - TQVBoxLayout *boxtqlayout = new TQVBoxLayout( this, 6 ); + TQVBoxLayout *boxlayout = new TQVBoxLayout( this, 6 ); tabs=new TQTabWidget(this); for(i=0;i<TabNum;i++) @@ -157,9 +157,9 @@ ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) configCombo->insertItem(i18n(predefinedConfigName[i])); configCombo->insertItem(i18n("Custom")); - boxtqlayout->addSpacing( 2 * 6 ); - boxtqlayout->addWidget(configCombo); - boxtqlayout->addWidget(tabs); + boxlayout->addSpacing( 2 * 6 ); + boxlayout->addWidget(configCombo); + boxlayout->addWidget(tabs); for(i=0;i<EditNum;i++) { diff --git a/kspaceduel/topwidget.cpp b/kspaceduel/topwidget.cpp index 999f546b..424b4ea6 100644 --- a/kspaceduel/topwidget.cpp +++ b/kspaceduel/topwidget.cpp @@ -25,11 +25,11 @@ void MyTopLevelWidget::initGameWidgets( ){ playerinfo[1]=new PlayerInfo(1,w); playfield=new MyMainView(w); - TQBoxLayout *toptqlayout=new TQHBoxLayout(w); - toptqlayout->addWidget(playerinfo[0]); - toptqlayout->addWidget(playfield); - toptqlayout->addWidget(playerinfo[1]); - toptqlayout->activate(); + TQBoxLayout *toplayout=new TQHBoxLayout(w); + toplayout->addWidget(playerinfo[0]); + toplayout->addWidget(playfield); + toplayout->addWidget(playerinfo[1]); + toplayout->activate(); playfield->setFocusPolicy(TQ_StrongFocus); playfield->setFocus(); |