diff options
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; } |