summaryrefslogtreecommitdiffstats
path: root/kchart/kchartFontConfigPage.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kchart/kchartFontConfigPage.cc
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
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,