summaryrefslogtreecommitdiffstats
path: root/kchart/kchartFontConfigPage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartFontConfigPage.cc')
-rw-r--r--kchart/kchartFontConfigPage.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kchart/kchartFontConfigPage.cc b/kchart/kchartFontConfigPage.cc
index d2a444b9..e5fdde2f 100644
--- a/kchart/kchartFontConfigPage.cc
+++ b/kchart/kchartFontConfigPage.cc
@@ -102,7 +102,7 @@ KChartFontConfigPage::KChartFontConfigPage( KChartParams* params,
#if 0
// FIXME: Integrate the font chooser instead? Well, maybe later.
- KFontChooser *fontChooser = new KFontChooser(this, "fontChooser");
+ TDEFontChooser *fontChooser = new TDEFontChooser(this, "fontChooser");
grid->addMultiCellWidget(fontChooser, 0, 2, 1, 1);
#endif
@@ -170,18 +170,18 @@ void KChartFontConfigPage::changeLabelFont()
= (xAxisIsRelative == yAxisIsRelative)
? (xAxisIsRelative ? TQButton::On : TQButton::Off)
: TQButton::NoChange;
- if (KFontDialog::getFontDiff( newFont,
+ if (TDEFontDialog::getFontDiff( newFont,
flags,
false,
this,
true,
&newState ) != TQDialog::Rejected) {
- if ( KFontChooser::FamilyList & flags ) {
+ if ( TDEFontChooser::FamilyList & flags ) {
xAxis.setFamily( newFont.family() );
yAxis.setFamily( newFont.family() );
}
- if ( KFontChooser::StyleList & flags ) {
+ if ( TDEFontChooser::StyleList & flags ) {
xAxis.setWeight( newFont.weight() );
xAxis.setItalic( newFont.italic() );
xAxis.setUnderline( newFont.underline() );
@@ -193,13 +193,13 @@ void KChartFontConfigPage::changeLabelFont()
yAxis.setStrikeOut( newFont.strikeOut() );
}
- if ( KFontChooser::SizeList & flags ) {
+ if ( TDEFontChooser::SizeList & flags ) {
xAxis.setPointSize( newFont.pointSize() );
yAxis.setPointSize( newFont.pointSize() );
}
// CharSet settings are ignored since we are not TQt 2.x compatible
- // if( KFontChooser::CharsetList & flags ) {
+ // if( TDEFontChooser::CharsetList & flags ) {
// }
if ( TQButton::NoChange != newState ) {
@@ -211,7 +211,7 @@ void KChartFontConfigPage::changeLabelFont()
else if ( font && state ) {
TQFont newFont( *font );
TQButton::ToggleState newState = *state;
- if (KFontDialog::getFont( newFont,
+ if (TDEFontDialog::getFont( newFont,
false,
this,
true,