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 d486ae9d..3d4ba603 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 tqchildren = report.childNodes(); - int childCount = tqchildren.length(); + TQDomNodeList children = report.childNodes(); + int childCount = children.length(); for ( int j = 0; j < childCount; j++ ) { - TQDomNode child = tqchildren.item( j ); + TQDomNode child = children.item( j ); if ( child.nodeType() == TQDomNode::ElementNode ) { @@ -301,12 +301,12 @@ void Canvas::setDetailFooterAttributes( TQDomNode *node ) void Canvas::addReportItems( TQDomNode *node, Band *section ) { - TQDomNodeList tqchildren = node->childNodes(); - int childCount = tqchildren.length(); + TQDomNodeList children = node->childNodes(); + int childCount = children.length(); for ( int j = 0; j < childCount; j++ ) { - TQDomNode child = tqchildren.item( j ); + TQDomNode child = children.item( j ); if ( child.nodeType() == TQDomNode::ElementNode ) { if ( child.nodeName() == "Line" ) |