summaryrefslogtreecommitdiffstats
path: root/kspaceduel/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspaceduel/dialogs.cpp')
-rw-r--r--kspaceduel/dialogs.cpp18
1 files changed, 9 insertions, 9 deletions
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;i<TabNum;i++)
@@ -145,7 +145,7 @@ ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name)
slider[i]=new TQSlider(EditVal[i][0]*EditDiv[i],EditVal[i][1]*EditDiv[i],
(EditVal[i][1]-EditVal[i][0])/10,
EditVal[i][2]*EditDiv[i],
- TQSlider::Horizontal,configWidgets[Parent[i]]);
+ Qt::Horizontal,configWidgets[Parent[i]]);
connect(slider[i],TQT_SIGNAL(valueChanged(int)),TQT_SLOT(sliderChanged(int)));
value[i]=new TQLCDNumber(LCDLen,configWidgets[Parent[i]]);
value[i]->setFrameStyle(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<EditNum;i++)
{
@@ -388,8 +388,8 @@ void ConfigSetup::sliderChanged(int val)
}
-SettingsDialog::SettingsDialog(SConfig *customConfig, TQWidget *parent, const char *name)
- : KConfigDialog( parent, name, Options::self())
+SettingsDialog::SettingsDialog(SConfig *customConfig, TQWidget *tqparent, const char *name)
+ : KConfigDialog( tqparent, name, Options::self())
{
General *general = new General();
addPage(general, i18n("General"), "package_settings", i18n("General Settings"));