diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kchart/kchartHeaderFooterConfigPage.cc | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kchart/kchartHeaderFooterConfigPage.cc')
-rw-r--r-- | kchart/kchartHeaderFooterConfigPage.cc | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kchart/kchartHeaderFooterConfigPage.cc b/kchart/kchartHeaderFooterConfigPage.cc index c097c381..89ef02f4 100644 --- a/kchart/kchartHeaderFooterConfigPage.cc +++ b/kchart/kchartHeaderFooterConfigPage.cc @@ -23,7 +23,7 @@ #include <kapplication.h> #include <kdialog.h> #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqlineedit.h> #include <tqbuttongroup.h> @@ -39,64 +39,64 @@ KChartHeaderFooterConfigPage::KChartHeaderFooterConfigPage( KChartParams* params TQWidget* parent ) : TQWidget( parent ),_params( params ) { - TQGridLayout* tqlayout = new TQGridLayout( this, 4, 3 ); - tqlayout->setSpacing( KDialog::spacingHint() ); - tqlayout->setMargin( KDialog::marginHint() ); + TQGridLayout* layout = new TQGridLayout( this, 4, 3 ); + layout->setSpacing( KDialog::spacingHint() ); + layout->setMargin( KDialog::marginHint() ); TQLabel *lab=new TQLabel(i18n("Title:"), this); TQWhatsThis::add(lab, i18n("Write here the title of your chart if you want one. The title will be centered on top above your chart.")); - tqlayout->addWidget(lab,0,0); + layout->addWidget(lab,0,0); titleEdit=new TQLineEdit(this); TQWhatsThis::add(titleEdit, i18n("Write here the title of your chart if you want one. The title will be centered on top above your chart.")); - tqlayout->addWidget(titleEdit,0,1); + layout->addWidget(titleEdit,0,1); titleColorButton=new KColorButton(this); TQWhatsThis::add(titleColorButton, i18n("Click on this button to choose the color for the title font.")); - tqlayout->addWidget(titleColorButton,0,2); + layout->addWidget(titleColorButton,0,2); titleFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(titleFontButton, i18n("Click on this button to choose the font family, style and size for the title.")); - tqlayout->addWidget(titleFontButton,0,3); + layout->addWidget(titleFontButton,0,3); connect( titleFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeTitleFont())); lab=new TQLabel(i18n("Subtitle:"),this); TQWhatsThis::add(lab, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(lab,1,0); + layout->addWidget(lab,1,0); subtitleEdit=new TQLineEdit(this); TQWhatsThis::add(subtitleEdit, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(subtitleEdit,1,1); + layout->addWidget(subtitleEdit,1,1); subtitleColorButton=new KColorButton(this); TQWhatsThis::add(subtitleColorButton, i18n("Click on this button to choose the color for the subtitle font.")); - tqlayout->addWidget(subtitleColorButton,1,2); + layout->addWidget(subtitleColorButton,1,2); subtitleFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(subtitleFontButton, i18n("Click on this button to choose the font family, style and size for the subtitle.")); - tqlayout->addWidget(subtitleFontButton,1,3); + layout->addWidget(subtitleFontButton,1,3); connect( subtitleFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeSubtitleFont())); lab=new TQLabel(i18n("Footer:"),this); TQWhatsThis::add(lab, i18n("Write here the footer of your chart if you want one. The footer will be centered at the bottom just below your chart.")); - tqlayout->addWidget(lab,2,0); + layout->addWidget(lab,2,0); footerEdit=new TQLineEdit(this); TQWhatsThis::add(footerEdit, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(footerEdit,2,1); + layout->addWidget(footerEdit,2,1); footerColorButton=new KColorButton(this); TQWhatsThis::add(footerColorButton, i18n("Click on this button to choose the color for the footer font.")); - tqlayout->addWidget(footerColorButton,2,2); + layout->addWidget(footerColorButton,2,2); footerFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(footerFontButton, i18n("Click on this button to choose the font family, style and size for the footer.")); connect( footerFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeFooterFont())); - tqlayout->addWidget(footerFontButton,2,3); + layout->addWidget(footerFontButton,2,3); - tqlayout->addItem( new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding ), 3, 0 ); + layout->addItem( new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding ), 3, 0 ); - tqlayout->activate(); + layout->activate(); } void KChartHeaderFooterConfigPage::init() |