diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kchart/kchartLegendConfigPage.cc | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kchart/kchartLegendConfigPage.cc')
-rw-r--r-- | kchart/kchartLegendConfigPage.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kchart/kchartLegendConfigPage.cc b/kchart/kchartLegendConfigPage.cc index 58d9acf2..154ce2a7 100644 --- a/kchart/kchartLegendConfigPage.cc +++ b/kchart/kchartLegendConfigPage.cc @@ -282,7 +282,7 @@ void KChartLegendConfigPage::init() void KChartLegendConfigPage::changeTitleLegendFont() { TQButton::ToggleState state = titleLegendIsRelative; - if ( KFontDialog::getFont( titleLegend,false,this, true,&state ) != TQDialog::Rejected + if ( TDEFontDialog::getFont( titleLegend,false,this, true,&state ) != TQDialog::Rejected && TQButton::NoChange != state ) titleLegendIsRelative = state; } @@ -290,7 +290,7 @@ void KChartLegendConfigPage::changeTitleLegendFont() void KChartLegendConfigPage::changeTextLegendFont() { TQButton::ToggleState state = textLegendIsRelative; - if ( KFontDialog::getFont( textLegend,false,this, true,&state ) != TQDialog::Rejected + if ( TDEFontDialog::getFont( textLegend,false,this, true,&state ) != TQDialog::Rejected && TQButton::NoChange != state ) textLegendIsRelative = state; } |