summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/autotools/autotoolsast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/lib/parsers/autotools/autotoolsast.cpp')
-rw-r--r--buildtools/lib/parsers/autotools/autotoolsast.cpp14
1 files changed, 7 insertions, 7 deletions
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<AST*>::iterator it = m_tqchildren.begin(); it != m_tqchildren.end(); ++it)
+ for (TQValueList<AST*>::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<AST*>::const_iterator it = m_tqchildren.constBegin();
- it != m_tqchildren.constEnd(); ++it)
+ for (TQValueList<AST*>::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*> AST::tqchildren() const
+TQValueList<AST*> AST::children() const
{
- return m_tqchildren;
+ return m_children;
}
//ProjectAST