From aea627236e4de24599c3e30617cf264c3c1b7d40 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:02:43 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kchart/kchartFontConfigPage.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kchart/kchartFontConfigPage.cc') 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, -- cgit v1.2.1