summaryrefslogtreecommitdiffstats
path: root/kchart/kchartComboConfigPage.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kchart/kchartComboConfigPage.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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()