diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kchart/kchartParameterConfigPage.cc | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kchart/kchartParameterConfigPage.cc')
-rw-r--r-- | kchart/kchartParameterConfigPage.cc | 22 |
1 files changed, 11 insertions, 11 deletions
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(); |