diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kchart/kchartHeaderFooterConfigPage.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/kchartHeaderFooterConfigPage.cc')
-rw-r--r-- | kchart/kchartHeaderFooterConfigPage.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kchart/kchartHeaderFooterConfigPage.cc b/kchart/kchartHeaderFooterConfigPage.cc index e6c6c99b..36412a45 100644 --- a/kchart/kchartHeaderFooterConfigPage.cc +++ b/kchart/kchartHeaderFooterConfigPage.cc @@ -158,7 +158,7 @@ void KChartHeaderFooterConfigPage::apply() void KChartHeaderFooterConfigPage::changeTitleFont() { TQButton::ToggleState state = titleFontIsRelative; - if ( KFontDialog::getFont( titleFont,false,this, true,&state ) != TQDialog::Rejected + if ( TDEFontDialog::getFont( titleFont,false,this, true,&state ) != TQDialog::Rejected && TQButton::NoChange != state ) titleFontIsRelative = state; } @@ -166,7 +166,7 @@ void KChartHeaderFooterConfigPage::changeTitleFont() void KChartHeaderFooterConfigPage::changeSubtitleFont() { TQButton::ToggleState state = subtitleFontIsRelative; - if ( KFontDialog::getFont( subtitleFont,false,this, true,&state ) != TQDialog::Rejected + if ( TDEFontDialog::getFont( subtitleFont,false,this, true,&state ) != TQDialog::Rejected && TQButton::NoChange != state ) subtitleFontIsRelative = state; } @@ -174,7 +174,7 @@ void KChartHeaderFooterConfigPage::changeSubtitleFont() void KChartHeaderFooterConfigPage::changeFooterFont() { TQButton::ToggleState state = footerFontIsRelative; - if ( KFontDialog::getFont( footerFont,false,this, true,&state ) != TQDialog::Rejected + if ( TDEFontDialog::getFont( footerFont,false,this, true,&state ) != TQDialog::Rejected && TQButton::NoChange != state ) footerFontIsRelative = state; } |