diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kchart/kchartParameterConfigPage.cc | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kchart/kchartParameterConfigPage.cc')
-rw-r--r-- | kchart/kchartParameterConfigPage.cc | 24 |
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(); |