|
|
@ -786,7 +786,7 @@ TQDomDocument KDChartParams::saveXML( bool withPI ) const
|
|
|
|
|
|
|
|
|
|
|
|
// the Qt::Orientation element
|
|
|
|
// the Qt::Orientation element
|
|
|
|
KDXML::createOrientationNode( doc, legendSettingsElement,
|
|
|
|
KDXML::createOrientationNode( doc, legendSettingsElement,
|
|
|
|
"Qt::Orientation", _legendOrientation );
|
|
|
|
"Orientation", _legendOrientation );
|
|
|
|
|
|
|
|
|
|
|
|
// the ShowLines element
|
|
|
|
// the ShowLines element
|
|
|
|
KDXML::createBoolNode( doc, legendSettingsElement,
|
|
|
|
KDXML::createBoolNode( doc, legendSettingsElement,
|
|
|
@ -1879,7 +1879,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
|
|
|
|
TQString string;
|
|
|
|
TQString string;
|
|
|
|
if( KDXML::readStringNode( element, string ) )
|
|
|
|
if( KDXML::readStringNode( element, string ) )
|
|
|
|
_legendPosition = KDChartParams::stringToLegendPosition( string );
|
|
|
|
_legendPosition = KDChartParams::stringToLegendPosition( string );
|
|
|
|
} else if( tagName == "Qt::Orientation" ) {
|
|
|
|
} else if( tagName == "Orientation" ) {
|
|
|
|
Qt::Orientation value=Qt::Vertical;
|
|
|
|
Qt::Orientation value=Qt::Vertical;
|
|
|
|
if( KDXML::readOrientationNode( element, value ) )
|
|
|
|
if( KDXML::readOrientationNode( element, value ) )
|
|
|
|
_legendOrientation = value;
|
|
|
|
_legendOrientation = value;
|
|
|
|