summaryrefslogtreecommitdiffstats
path: root/kchart
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
commite7e4b0b68cf15e861bb8f0f7ee76156460cdf97d (patch)
tree0d7b18b719cc71b15efcb5be91e4ca2f9926bf9e /kchart
parent86ea45fe5947020ff39e593b7f86f3c8b518d79b (diff)
downloadkoffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.tar.gz
koffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.zip
Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart')
-rw-r--r--kchart/kchartLegendConfigPage.cc2
-rw-r--r--kchart/kdchart/KDChartParams_io.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kchart/kchartLegendConfigPage.cc b/kchart/kchartLegendConfigPage.cc
index fdbf3f10..34edaf83 100644
--- a/kchart/kchartLegendConfigPage.cc
+++ b/kchart/kchartLegendConfigPage.cc
@@ -131,7 +131,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
this, TQT_SLOT(changeTextLegendFont()));
// 4. Block: Qt::Orientation
- orientationGroup = new TQVButtonGroup( i18n("Qt::Orientation"), this );
+ orientationGroup = new TQVButtonGroup( i18n("Orientation"), this );
TQWhatsThis::add(orientationGroup, i18n("Select, if the legend's items should be drawn next to each other, or below each other."));
orientationGroup->setRadioButtonExclusive(true);
orientationGroup->tqlayout()->setSpacing(KDialog::spacingHint());
diff --git a/kchart/kdchart/KDChartParams_io.cpp b/kchart/kdchart/KDChartParams_io.cpp
index 3a3d637d..e24ce590 100644
--- a/kchart/kdchart/KDChartParams_io.cpp
+++ b/kchart/kdchart/KDChartParams_io.cpp
@@ -786,7 +786,7 @@ TQDomDocument KDChartParams::saveXML( bool withPI ) const
// the Qt::Orientation element
KDXML::createOrientationNode( doc, legendSettingsElement,
- "Qt::Orientation", _legendOrientation );
+ "Orientation", _legendOrientation );
// the ShowLines element
KDXML::createBoolNode( doc, legendSettingsElement,
@@ -1879,7 +1879,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
TQString string;
if( KDXML::readStringNode( element, string ) )
_legendPosition = KDChartParams::stringToLegendPosition( string );
- } else if( tagName == "Qt::Orientation" ) {
+ } else if( tagName == "Orientation" ) {
Qt::Orientation value=Qt::Vertical;
if( KDXML::readOrientationNode( element, value ) )
_legendOrientation = value;