From b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:51:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- buildtools/lib/parsers/autotools/autotoolsast.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'buildtools/lib/parsers/autotools/autotoolsast.cpp') diff --git a/buildtools/lib/parsers/autotools/autotoolsast.cpp b/buildtools/lib/parsers/autotools/autotoolsast.cpp index 659fe47f..0512be78 100644 --- a/buildtools/lib/parsers/autotools/autotoolsast.cpp +++ b/buildtools/lib/parsers/autotools/autotoolsast.cpp @@ -28,7 +28,7 @@ namespace AutoTools { AST::~AST() { - for (TQValueList::iterator it = m_tqchildren.begin(); it != m_tqchildren.end(); ++it) + for (TQValueList::iterator it = m_children.begin(); it != m_children.end(); ++it) { AST *node = *it; delete node; @@ -37,13 +37,13 @@ AST::~AST() void AST::addChildAST(AST *node) { - m_tqchildren.append(node); + m_children.append(node); } void AST::writeBack(TQString &buffer) { - for (TQValueList::const_iterator it = m_tqchildren.constBegin(); - it != m_tqchildren.constEnd(); ++it) + for (TQValueList::const_iterator it = m_children.constBegin(); + it != m_children.constEnd(); ++it) { if (*it) (*it)->writeBack(buffer); @@ -60,12 +60,12 @@ TQString AST::indentation() bool AST::hasChildren() const { - return !m_tqchildren.isEmpty(); + return !m_children.isEmpty(); } -TQValueList AST::tqchildren() const +TQValueList AST::children() const { - return m_tqchildren; + return m_children; } //ProjectAST -- cgit v1.2.3