summaryrefslogtreecommitdiffstats
path: root/kchart/kchartParameterConfigPage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartParameterConfigPage.cc')
-rw-r--r--kchart/kchartParameterConfigPage.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/kchart/kchartParameterConfigPage.cc b/kchart/kchartParameterConfigPage.cc
index cd9e0f03..bffa3099 100644
--- a/kchart/kchartParameterConfigPage.cc
+++ b/kchart/kchartParameterConfigPage.cc
@@ -23,7 +23,7 @@
#include <kapplication.h>
#include <klocale.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqcheckbox.h>
#include <tqlineedit.h>
@@ -44,17 +44,17 @@ KChartParameterConfigPage::KChartParameterConfigPage( KChartParams* params,
TQWidget* parent ) :
TQWidget( parent ),_params( params )
{
- // toplevel layout
+ // toplevel tqlayout
TQVBoxLayout* toplevel = new TQVBoxLayout( this, 10 );
- TQGridLayout* layout = new TQGridLayout( 1, 3 );
- toplevel->addLayout( layout );
+ TQGridLayout* tqlayout = new TQGridLayout( 1, 3 );
+ toplevel->addLayout( tqlayout );
// The "Parameters" button group
TQButtonGroup* gb1 = new TQButtonGroup( 0, Qt::Vertical, i18n("Parameters"), this );
- gb1->layout()->setSpacing(KDialog::spacingHint());
- gb1->layout()->setMargin(KDialog::marginHint());
- TQGridLayout *grid1 = new TQGridLayout(gb1->layout(),9,1);
+ gb1->tqlayout()->setSpacing(KDialog::spacingHint());
+ gb1->tqlayout()->setMargin(KDialog::marginHint());
+ TQGridLayout *grid1 = new TQGridLayout(gb1->tqlayout(),9,1);
grid = new TQCheckBox( i18n( "Grid" ), gb1 );
TQWhatsThis::add(grid, i18n("If this is checked, the grid is shown. If you uncheck this option, the grid will not be displayed anymore."));
@@ -93,9 +93,9 @@ KChartParameterConfigPage::KChartParameterConfigPage( KChartParams* params,
// The "Settings" button group
TQButtonGroup* gb2 = new TQButtonGroup( 0, Qt::Vertical,
i18n("Settings"), this );
- gb2->layout()->setSpacing(KDialog::spacingHint());
- gb2->layout()->setMargin(KDialog::marginHint());
- TQGridLayout *grid2 = new TQGridLayout(gb2->layout(),8,1);
+ gb2->tqlayout()->setSpacing(KDialog::spacingHint());
+ gb2->tqlayout()->setMargin(KDialog::marginHint());
+ TQGridLayout *grid2 = new TQGridLayout(gb2->tqlayout(),8,1);
TQBoxLayout * l = new TQVBoxLayout( grid2 );
@@ -160,8 +160,8 @@ KChartParameterConfigPage::KChartParameterConfigPage( KChartParams* params,
ylabel2_fmt->setMaximumWidth(130);
grid2->addWidget(ylabel2_fmt,5,1);
#endif
- layout->addWidget(gb1,0,0);
- layout->addWidget(gb2,0,1);
+ tqlayout->addWidget(gb1,0,0);
+ tqlayout->addWidget(gb2,0,1);
#if 0
grid1->activate();