From 2d6954f69caf63ed5057bd8e1405a65d7d970292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:05:41 -0600 Subject: Rename obsolete tq methods to standard names --- kchart/kchartParameterConfigPage.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kchart/kchartParameterConfigPage.cc') diff --git a/kchart/kchartParameterConfigPage.cc b/kchart/kchartParameterConfigPage.cc index bffa3099..2fc0b0af 100644 --- a/kchart/kchartParameterConfigPage.cc +++ b/kchart/kchartParameterConfigPage.cc @@ -44,17 +44,17 @@ KChartParameterConfigPage::KChartParameterConfigPage( KChartParams* params, TQWidget* parent ) : TQWidget( parent ),_params( params ) { - // toplevel tqlayout + // toplevel layout TQVBoxLayout* toplevel = new TQVBoxLayout( this, 10 ); - TQGridLayout* tqlayout = new TQGridLayout( 1, 3 ); - toplevel->addLayout( tqlayout ); + TQGridLayout* layout = new TQGridLayout( 1, 3 ); + toplevel->addLayout( layout ); // The "Parameters" button group TQButtonGroup* gb1 = new TQButtonGroup( 0, Qt::Vertical, i18n("Parameters"), this ); - gb1->tqlayout()->setSpacing(KDialog::spacingHint()); - gb1->tqlayout()->setMargin(KDialog::marginHint()); - TQGridLayout *grid1 = new TQGridLayout(gb1->tqlayout(),9,1); + gb1->layout()->setSpacing(KDialog::spacingHint()); + gb1->layout()->setMargin(KDialog::marginHint()); + TQGridLayout *grid1 = new TQGridLayout(gb1->layout(),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->tqlayout()->setSpacing(KDialog::spacingHint()); - gb2->tqlayout()->setMargin(KDialog::marginHint()); - TQGridLayout *grid2 = new TQGridLayout(gb2->tqlayout(),8,1); + gb2->layout()->setSpacing(KDialog::spacingHint()); + gb2->layout()->setMargin(KDialog::marginHint()); + TQGridLayout *grid2 = new TQGridLayout(gb2->layout(),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 - tqlayout->addWidget(gb1,0,0); - tqlayout->addWidget(gb2,0,1); + layout->addWidget(gb1,0,0); + layout->addWidget(gb2,0,1); #if 0 grid1->activate(); -- cgit v1.2.1