From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: TQt4 port kdegames This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kspaceduel/dialogs.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kspaceduel/dialogs.cpp') diff --git a/kspaceduel/dialogs.cpp b/kspaceduel/dialogs.cpp index c8ec2632..843e93ee 100644 --- a/kspaceduel/dialogs.cpp +++ b/kspaceduel/dialogs.cpp @@ -113,8 +113,8 @@ int ConfigSetup::Position[EditNum]= const int LCDLen=6; -ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) - :TQWidget( parent, name ) +ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *tqparent,const char *name) + :TQWidget( tqparent, name ) { TQLabel *label[EditNum]; TQGridLayout *stacklayout[TabNum]; @@ -130,7 +130,7 @@ ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) //box=new TQGroupBox(i18n("Config"),this); //setMainWidget( box ); - TQVBoxLayout *boxlayout = new TQVBoxLayout( this, 6 ); + TQVBoxLayout *boxtqlayout = new TQVBoxLayout( this, 6 ); tabs=new TQTabWidget(this); for(i=0;isetFrameStyle(TQFrame::NoFrame); @@ -157,9 +157,9 @@ ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) configCombo->insertItem(i18n(predefinedConfigName[i])); configCombo->insertItem(i18n("Custom")); - boxlayout->addSpacing( 2 * 6 ); - boxlayout->addWidget(configCombo); - boxlayout->addWidget(tabs); + boxtqlayout->addSpacing( 2 * 6 ); + boxtqlayout->addWidget(configCombo); + boxtqlayout->addWidget(tabs); for(i=0;i