diff options
Diffstat (limited to 'kugar/kudesigner_lib/canvas.cpp')
-rw-r--r-- | kugar/kudesigner_lib/canvas.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kugar/kudesigner_lib/canvas.cpp b/kugar/kudesigner_lib/canvas.cpp index 3d4ba603..d486ae9d 100644 --- a/kugar/kudesigner_lib/canvas.cpp +++ b/kugar/kudesigner_lib/canvas.cpp @@ -162,11 +162,11 @@ bool Canvas::loadXML( const TQDomNode &report ) templ->props[ "RightMargin" ].setValue( attributes.namedItem( "RightMargin" ).nodeValue().toInt() ); // Get all the child report elements - TQDomNodeList children = report.childNodes(); - int childCount = children.length(); + TQDomNodeList tqchildren = report.childNodes(); + int childCount = tqchildren.length(); for ( int j = 0; j < childCount; j++ ) { - TQDomNode child = children.item( j ); + TQDomNode child = tqchildren.item( j ); if ( child.nodeType() == TQDomNode::ElementNode ) { @@ -301,12 +301,12 @@ void Canvas::setDetailFooterAttributes( TQDomNode *node ) void Canvas::addReportItems( TQDomNode *node, Band *section ) { - TQDomNodeList children = node->childNodes(); - int childCount = children.length(); + TQDomNodeList tqchildren = node->childNodes(); + int childCount = tqchildren.length(); for ( int j = 0; j < childCount; j++ ) { - TQDomNode child = children.item( j ); + TQDomNode child = tqchildren.item( j ); if ( child.nodeType() == TQDomNode::ElementNode ) { if ( child.nodeName() == "Line" ) |