diff options
Diffstat (limited to 'libkdchart/KDChartParams_io.cpp')
-rw-r--r-- | libkdchart/KDChartParams_io.cpp | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp index 86f37d6..19b5c39 100644 --- a/libkdchart/KDChartParams_io.cpp +++ b/libkdchart/KDChartParams_io.cpp @@ -1339,7 +1339,7 @@ void KDChartParams::loadAxesFormXML(int& curAxisSettings, TQDomElement& element) if( KDXML::readBoolNode( element, blockAlign ) ) axisSettings->_axisLabelsBlockAlign = blockAlign; } else { - qDebug( "Unknown subelement of AxisSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of AxisSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1395,7 +1395,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) _dataSourceModeAndChart[dataset] = KDChartParams::ModeAndChart( sourceMode, chart ); } } else { - qDebug( "Unknown subelement of ModeAndChartMap found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of ModeAndChartMap found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1462,7 +1462,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( element.hasAttribute( "Style" ) ) _outlineDataLineStyle = KDXML::stringToPenStyle( element.attribute( "Style" ) ); } else { - qDebug( "!!!Unknown subelement of ColorSettings found: %s", tagName.latin1() ); + tqDebug( "!!!Unknown subelement of ColorSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1510,7 +1510,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readBoolNode( element, solidExcessArrows ) ) _solidExcessArrows = solidExcessArrows; } else { - qDebug( "Unknown subelement of BarSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of BarSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1599,7 +1599,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readIntNode( element, rotation ) ) _threeDLineYRotation = rotation; } else { - qDebug( "Unknown subelement of LineSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of LineSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1619,7 +1619,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readStringNode( element, string ) ) _areaLocation = KDChartParams::stringToAreaLocation( string ); } else { - qDebug( "Unknown subelement of AreaSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of AreaSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1666,7 +1666,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readBoolNode( element, relativeRingThickness ) ) _relativeRingThickness = relativeRingThickness; } else { - qDebug( "Unknown subelement of PieRingSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of PieRingSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1734,7 +1734,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readColorNode( element, color ) ) _hiLoChartCloseValuesColor = color; } else { - qDebug( "Unknown subelement of HiLoSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of HiLoSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1803,15 +1803,15 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readBrushNode( element, brush ) ) _BWChartStatistics[ i ].brush = brush; } else { - qDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); } } } } else { - qDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); } } else { - qDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of BoxAndWhiskerSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1864,7 +1864,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readIntNode( element, polarLineWidth ) ) _polarLineWidth = polarLineWidth; } else { - qDebug( "Unknown subelement of PolarSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of PolarSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1931,7 +1931,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readIntNode( element, spacing ) ) _legendSpacing = spacing; } else { - qDebug( "Unknown subelement of LegendSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of LegendSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1962,7 +1962,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readColorNode( element, color ) ) hfSettings->_color = color; } else { - qDebug( "Unknown subelement of HeaderFooterSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of HeaderFooterSettings found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -1994,7 +1994,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) if( KDXML::readIntNode( element, value ) ) _globalLeadingBottom = value; } else { - qDebug( "Unknown subelement of GlobalLeading found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of GlobalLeading found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -2076,7 +2076,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) } else if( tagName == "ShowInfinite" ) { KDXML::readBoolNode( element, _printDataValuesSettings._dataValuesShowInfinite ); } else { - qDebug( "Unknown subelement of DataValuesSettings1 found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of DataValuesSettings1 found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -2158,7 +2158,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) } else if( tagName == "ShowInfinite" ) { KDXML::readBoolNode( element, _printDataValuesSettings2._dataValuesShowInfinite ); } else { - qDebug( "Unknown subelement of DataValuesSettings2 found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of DataValuesSettings2 found: %s", tagName.latin1() ); } } node = node.nextSibling(); @@ -2175,7 +2175,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) _allowOverlappingDataValueTexts = value; } else - qDebug( "Unknown subelement of DataValuesGlobalSettings found: %s", tagName.latin1() ); + tqDebug( "Unknown subelement of DataValuesGlobalSettings found: %s", tagName.latin1() ); // do _not_ return false here (to enable future extentions) } node = node.nextSibling(); @@ -2204,7 +2204,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) } } else - qDebug( "Unknown tag in AreaMap found: %s", tagName.latin1() ); + tqDebug( "Unknown tag in AreaMap found: %s", tagName.latin1() ); // do _not_ return false here (to enable future extentions) } node = node.nextSibling(); @@ -2226,12 +2226,12 @@ bool KDChartParams::loadXML( const TQDomDocument& doc ) _customBoxDict.insert( curNumber, customBox.clone() ); } else - qDebug( "Unknown tag in CustomBoxMap found: %s", tagName.latin1() ); + tqDebug( "Unknown tag in CustomBoxMap found: %s", tagName.latin1() ); } node = node.nextSibling(); } } else { - qDebug( "Unknown second-level element found: %s", tagName.latin1() ); + tqDebug( "Unknown second-level element found: %s", tagName.latin1() ); // NOTE: We do *not* 'return false' here but continue normal operation // since additional elements might have been added in future versions } @@ -2400,7 +2400,7 @@ bool KDChartParams::readColorMapNode( const TQDomElement& element, KDXML::readColorNode( element, color ); value->insert( curDataset, color ); } else { - qDebug( "Unknown tag in color map" ); + tqDebug( "Unknown tag in color map" ); } } node = node.nextSibling(); @@ -2434,7 +2434,7 @@ bool KDChartParams::readDoubleMapNode( const TQDomElement& element, KDXML::readDoubleNode( element, doubleValue ); value->insert( curValue, doubleValue ); } else { - qDebug( "Unknown tag in double map" ); + tqDebug( "Unknown tag in double map" ); } } node = node.nextSibling(); @@ -2480,7 +2480,7 @@ bool KDChartParams::readChartFontNode( const TQDomElement& element, } else if( tagName == "MinFontSize" ) { ok = ok & KDXML::readIntNode( element, tempMinFontSize ); } else { - qDebug( "Unknown tag in color map" ); + tqDebug( "Unknown tag in color map" ); } } node = node.nextSibling(); @@ -2632,7 +2632,7 @@ TQString KDChartParams::markerStyleToString( int style ) case LineMarkerFastCross: return "fast Cross"; default: // should not happen - qDebug( "Unknown marker style" ); + tqDebug( "Unknown marker style" ); return "Circle"; } } @@ -2656,7 +2656,7 @@ TQString KDChartParams::markerStyleToStringTr( int style ) case LineMarkerFastCross: return tr( "fast Cross" ); default: // should not happen - qDebug( "Unknown line marker style!" ); + tqDebug( "Unknown line marker style!" ); return tr( "Circle" ); } } @@ -2722,7 +2722,7 @@ TQString KDChartParams::barChartSubTypeToString( BarChartSubType type ) { case BarMultiRows: return "BarMultiRows"; default: // should not happen - qDebug( "Unknown bar type" ); + tqDebug( "Unknown bar type" ); return "BarNormal"; } } @@ -2783,7 +2783,7 @@ TQString KDChartParams::lineChartSubTypeToString( LineChartSubType type ) { case LinePercent: return "LinePercent"; default: // should not happen - qDebug( "Unknown bar type" ); + tqDebug( "Unknown bar type" ); return "LineNormal"; } } @@ -2854,7 +2854,7 @@ TQString KDChartParams::areaChartSubTypeToString( AreaChartSubType type ) { case AreaPercent: return "AreaPercent"; default: // should not happen - qDebug( "Unknown area chart subtype" ); + tqDebug( "Unknown area chart subtype" ); return "AreaNormal"; } } @@ -2891,7 +2891,7 @@ TQString KDChartParams::areaLocationToString( AreaLocation type ) { case AreaBelow: return "Below"; default: // should not happen - qDebug( "Unknown area location" ); + tqDebug( "Unknown area location" ); return "Below"; } } @@ -2946,7 +2946,7 @@ TQString KDChartParams::polarChartSubTypeToString( PolarChartSubType type ) { case LinePercent: return "PolarPercent"; default: // should not happen - qDebug( "Unknown polar type" ); + tqDebug( "Unknown polar type" ); return "PolarNormal"; } } @@ -3018,7 +3018,7 @@ TQString KDChartParams::hiLoChartSubTypeToString( HiLoChartSubType type ) { case HiLoOpenClose: return "HiLoOpenClose"; default: // should not happen - qDebug( "Unknown HiLo chart subtype" ); + tqDebug( "Unknown HiLo chart subtype" ); return "HiLoNormal"; } } @@ -3084,7 +3084,7 @@ TQString KDChartParams::bWChartStatValToString( BWStatVal type ) { case MinValue: return "MinValue"; default: // should not happen - qDebug( "Unknown BoxWhisker statistical value type" ); + tqDebug( "Unknown BoxWhisker statistical value type" ); return "unknown"; } } @@ -3164,7 +3164,7 @@ TQString KDChartParams::legendPositionToString( LegendPosition pos ) { case LegendBottomRightRight: return "LegendBottomRightRight"; default: // should not happen - qDebug( "Unknown legend position" ); + tqDebug( "Unknown legend position" ); return "LegendLeft"; } } @@ -3230,7 +3230,7 @@ TQString KDChartParams::legendSourceToString( LegendSource source ) { case LegendAutomatic: return "Automatic"; default: // should not happen - qDebug( "Unknown legend source" ); + tqDebug( "Unknown legend source" ); return "Automatic"; } } @@ -3326,7 +3326,7 @@ TQString KDChartParams::bWChartSubTypeToString( BWChartSubType type ) { case BWSimple: return "BWSimple"; default: // should not happen - qDebug( "Unknown BoxWhisker chart subtype" ); + tqDebug( "Unknown BoxWhisker chart subtype" ); return "BWNormal"; } } |