summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartParams_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartParams_io.cpp')
-rw-r--r--libkdchart/KDChartParams_io.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp
index 2feaf17..4f17e65 100644
--- a/libkdchart/KDChartParams_io.cpp
+++ b/libkdchart/KDChartParams_io.cpp
@@ -2247,17 +2247,17 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
for use in a DOM document.
\param doc the DOM document to which the node will belong
- \param tqparent the tqparent node to which the new node will be appended
+ \param parent the parent node to which the new node will be appended
\param elementName the name of the new node
\param map the map of colors to be represented
*/
-void KDChartParams::createColorMapNode( TQDomDocument& doc, TQDomNode& tqparent,
+void KDChartParams::createColorMapNode( TQDomDocument& doc, TQDomNode& parent,
const TQString& elementName,
const TQMap< uint, TQColor >& map )
{
TQDomElement mapElement =
doc.createElement( elementName );
- tqparent.appendChild( mapElement );
+ parent.appendChild( mapElement );
for( TQMap<uint,TQColor>::ConstIterator it = map.begin();
it != map.end(); ++it ) {
// Dataset element
@@ -2277,17 +2277,17 @@ void KDChartParams::createColorMapNode( TQDomDocument& doc, TQDomNode& tqparent,
for use in a DOM document.
\param doc the DOM document to which the node will belong
- \param tqparent the tqparent node to which the new node will be appended
+ \param parent the parent node to which the new node will be appended
\param elementName the name of the new node
\param map the map of doubles to be represented
*/
-void KDChartParams::createDoubleMapNode( TQDomDocument& doc, TQDomNode& tqparent,
+void KDChartParams::createDoubleMapNode( TQDomDocument& doc, TQDomNode& parent,
const TQString& elementName,
const TQMap< int, double >& map )
{
TQDomElement mapElement =
doc.createElement( elementName );
- tqparent.appendChild( mapElement );
+ parent.appendChild( mapElement );
for( TQMap<int,double>::ConstIterator it = map.begin();
it != map.end(); ++it ) {
// Dataset element
@@ -2321,18 +2321,18 @@ void dataCoordToElementAttr(const TQVariant& val, TQDomElement& element, const T
chart value for use in a DOM document.
\param doc the DOM document to which the node will belong
- \param tqparent the tqparent node to which the new node will be appended
+ \param parent the parent node to which the new node will be appended
\param elementName the name of the new node
\param data the chart value to be represented
*/
-void KDChartParams::createChartValueNode( TQDomDocument& doc, TQDomNode& tqparent,
+void KDChartParams::createChartValueNode( TQDomDocument& doc, TQDomNode& parent,
const TQString& elementName,
const TQVariant& valY,
const TQVariant& valX,
const int& propID )
{
TQDomElement element = doc.createElement( elementName );
- tqparent.appendChild( element );
+ parent.appendChild( element );
dataCoordToElementAttr( valY, element, "" ); // no postfix for Y value: backwards compat.
dataCoordToElementAttr( valX, element, "X" );
element.setAttribute( "PropertySetID",
@@ -2346,7 +2346,7 @@ void KDChartParams::createChartValueNode( TQDomDocument& doc, TQDomNode& tqparen
chart for use in a DOM document.
\param doc the DOM document to which the node will belong
- \param tqparent the tqparent node to which the new node will be appended
+ \param parent the parent node to which the new node will be appended
\param elementName the name of the new node
\param font the font to be resented
\param useRelFont the specification whether the font size
@@ -2354,14 +2354,14 @@ void KDChartParams::createChartValueNode( TQDomDocument& doc, TQDomNode& tqparen
\param relFont the relative font size
\param minFont the minimal font size in points, leave this parameter out if not needed
*/
-void KDChartParams::createChartFontNode( TQDomDocument& doc, TQDomNode& tqparent,
+void KDChartParams::createChartFontNode( TQDomDocument& doc, TQDomNode& parent,
const TQString& elementName,
const TQFont& font, bool useRelFont,
int relFont,
int minFont )
{
TQDomElement chartFontElement = doc.createElement( elementName );
- tqparent.appendChild( chartFontElement );
+ parent.appendChild( chartFontElement );
KDXML::createFontNode( doc, chartFontElement, "Font", font );
KDXML::createBoolNode( doc, chartFontElement, "UseRelFontSize",
useRelFont );
@@ -2379,7 +2379,7 @@ void KDChartParams::createChartFontNode( TQDomDocument& doc, TQDomNode& tqparent
for use in a DOM document.
\param doc the DOM document to which the node will belong
- \param tqparent the tqparent node to which the new node will be appended
+ \param parent the parent node to which the new node will be appended
\param elementName the name of the new node
\param map the color map to be represented
*/