summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartParams_io.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 22:44:03 +0900
commit0008104748e6613c41d60b0545c07ed34e16ddec (patch)
tree12b1131ace7823c35c51d7f03002ed0e9f476dbd /libkdchart/KDChartParams_io.cpp
parenta84f7caff6a73b3d554279d41b9a00aa15ad1400 (diff)
downloadkmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.tar.gz
kmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 96c67c9b3924ab034d3d34aa03d3ea7cf0746587)
Diffstat (limited to 'libkdchart/KDChartParams_io.cpp')
-rw-r--r--libkdchart/KDChartParams_io.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp
index 7bc365f..3b2ff57 100644
--- a/libkdchart/KDChartParams_io.cpp
+++ b/libkdchart/KDChartParams_io.cpp
@@ -545,7 +545,7 @@ TQDomDocument KDChartParams::saveXML( bool withPI ) const
KDXML::penStyleToString( _lineStyle ) );
// the DatasetLineStyles elements
- {for( TQMap<uint, Qt::PenStyle>::ConstIterator it = _datasetLineStyles.begin();
+ {for( TQMap<uint, TQt::PenStyle>::ConstIterator it = _datasetLineStyles.begin();
it != _datasetLineStyles.end(); ++it ) {
TQDomElement lineStyleElement = doc.createElement( "DatasetLineStyle" );
lineSettingsElement.appendChild( lineStyleElement );
@@ -789,7 +789,7 @@ TQDomDocument KDChartParams::saveXML( bool withPI ) const
KDXML::createStringNode( doc, legendSettingsElement, "Position",
KDChartParams::legendPositionToString( _legendPosition ) );
- // the Qt::Orientation element
+ // the Orientation element
KDXML::createOrientationNode( doc, legendSettingsElement,
"Orientation", _legendOrientation );
@@ -1577,7 +1577,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
} else if( tagName == "DatasetLineStyle" ) {
bool ok = true;
uint dataset;
- Qt::PenStyle style = Qt::SolidLine;
+ TQt::PenStyle style = TQt::SolidLine;
if( element.hasAttribute( "Dataset" ) &&
element.hasAttribute( "Style" ) ) {
dataset = element.attribute( "Dataset" ).toUInt( &ok );
@@ -1885,7 +1885,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
if( KDXML::readStringNode( element, string ) )
_legendPosition = KDChartParams::stringToLegendPosition( string );
} else if( tagName == "Orientation" ) {
- Qt::Orientation value=Qt::Vertical;
+ TQt::Orientation value=TQt::Vertical;
if( KDXML::readOrientationNode( element, value ) )
_legendOrientation = value;
} else if( tagName == "ShowLines" ) {
@@ -2316,7 +2316,7 @@ void dataCoordToElementAttr(const TQVariant& val, TQDomElement& element, const T
element.setAttribute( "StringValue"+postfix, val.toString() );
else if( TQVariant::DateTime == val.type() )
element.setAttribute( "DateTimeValue"+postfix,
- val.toDateTime().toString( Qt::ISODate ) );
+ val.toDateTime().toString( TQt::ISODate ) );
else
element.setAttribute( "NoValue"+postfix, "true" );
}