summaryrefslogtreecommitdiffstats
path: root/kchart/kchartComboConfigPage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartComboConfigPage.cc')
-rw-r--r--kchart/kchartComboConfigPage.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kchart/kchartComboConfigPage.cc b/kchart/kchartComboConfigPage.cc
index 72453584..1e1dd871 100644
--- a/kchart/kchartComboConfigPage.cc
+++ b/kchart/kchartComboConfigPage.cc
@@ -24,7 +24,7 @@
#include <klocale.h>
#include <kdebug.h>
#include <kdialog.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqradiobutton.h>
#include <tqbuttongroup.h>
@@ -40,11 +40,11 @@ KChartComboPage::KChartComboPage( KChartParams* params,
{
//TQVBoxLayout* toplevel = new TQVBoxLayout( this, 10 );
- TQGridLayout* tqlayout = new TQGridLayout(this, 2, 2,KDialog::marginHint(), KDialog::spacingHint() );
- //toplevel->addLayout( tqlayout );
+ TQGridLayout* layout = new TQGridLayout(this, 2, 2,KDialog::marginHint(), KDialog::spacingHint() );
+ //toplevel->addLayout( layout );
TQButtonGroup* gb = new TQButtonGroup( i18n("HLC Style"), this );
TQGridLayout *grid1 = new TQGridLayout(gb,7,1,KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->addWidget(gb,0,0);
+ layout->addWidget(gb,0,0);
diamond=new TQRadioButton( i18n("Diamond"), gb ); ;
grid1->addWidget(diamond,0,0);
@@ -54,7 +54,7 @@ KChartComboPage::KChartComboPage( KChartParams* params,
grid1->addWidget(connecting,2,0);
icap=new TQRadioButton( i18n("Icap"), gb );
grid1->addWidget(icap,3,0);
- gb->tqsetAlignment(TQt::AlignLeft);
+ gb->setAlignment(TQt::AlignLeft);
grid1->addColSpacing(0,diamond->width());
grid1->addColSpacing(0,closeconnected->width());
grid1->addColSpacing(0,connecting->width());
@@ -63,7 +63,7 @@ KChartComboPage::KChartComboPage( KChartParams* params,
grid1->activate();
//it's not good but I don't know how
//to reduce space
- tqlayout->addColSpacing(1,300);
+ layout->addColSpacing(1,300);
}
void KChartComboPage::init()