summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/autotools/autotoolsast.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/lib/parsers/autotools/autotoolsast.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/lib/parsers/autotools/autotoolsast.h')
-rw-r--r--buildtools/lib/parsers/autotools/autotoolsast.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/buildtools/lib/parsers/autotools/autotoolsast.h b/buildtools/lib/parsers/autotools/autotoolsast.h
index 9c7ae66a..768e3e07 100644
--- a/buildtools/lib/parsers/autotools/autotoolsast.h
+++ b/buildtools/lib/parsers/autotools/autotoolsast.h
@@ -23,7 +23,7 @@
#ifndef AUTOTOOLSAST_H
#define AUTOTOOLSAST_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
/**
@file autotools.h
@@ -71,7 +71,7 @@ public:
* This is a default implementation which iterates over child nodes
* and calls writeBack for each child node.
*/
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
/** @return The type of the node.*/
virtual NodeType nodeType() const { return m_nodeType; }
@@ -83,7 +83,7 @@ public:
int depth() const { return m_depth; }
/** @return The indentation string based on node depth.*/
- virtual QString indentation();
+ virtual TQString indentation();
//! \return true if this AST has children
bool hasChildren() const;
@@ -92,13 +92,13 @@ public:
* Get the children of this ast
* \return the list of this ast's childre
*/
- QValueList<AST*> children() const;
+ TQValueList<AST*> children() const;
protected:
NodeType m_nodeType;
- QValueList<AST*> m_children;
+ TQValueList<AST*> m_children;
private:
int m_depth;
@@ -135,7 +135,7 @@ public:
/** Constructs a project node of given @p kind. */
ProjectAST(Kind kind = Project): AST(AST::ProjectAST), m_kind(kind) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
virtual void addChildAST(AST *node);
/** @return true if this node is a project.*/
@@ -150,16 +150,16 @@ public:
bool isEmpty() const { return m_kind == Empty; }
/**Scoped identifier (scope name or rule).*/
- QString scopedID;
+ TQString scopedID;
/**Function arguments. Empty for other kinds of projects.*/
- QString args;
+ TQString args;
/** The automake conditional has an else attached */
bool hasElse;
/**List of statements.*/
- QValueList<AutoTools::AST*> statements;
+ TQValueList<AutoTools::AST*> statements;
private:
Kind m_kind;
@@ -192,16 +192,16 @@ class AssignmentAST: public AST
public:
AssignmentAST(): AST(AST::AssignmentAST) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
/**Scoped name of the variable.*/
- QString scopedID;
+ TQString scopedID;
/**Operator.*/
- QString op;
+ TQString op;
/**List of values.*/
- QStringList values;
+ TQStringList values;
};
class AutomakeTargetAST : public AST
@@ -209,13 +209,13 @@ class AutomakeTargetAST : public AST
public:
AutomakeTargetAST() : AST(AST::TargetAST) {}
- virtual void writeBack( QString& buffer );
+ virtual void writeBack( TQString& buffer );
/// The name of the target
- QString target;
+ TQString target;
/// The dependencies for the target, if any
- QStringList deps;
+ TQStringList deps;
};
class ConditionAST : public AST
@@ -223,13 +223,13 @@ class ConditionAST : public AST
public:
ConditionAST() : AST( AST::MakefileConditionalAST ) {}
- virtual void writeBack( QString& buffer );
+ virtual void writeBack( TQString& buffer );
/// The keyword for the condition (if, else, endif)
- QString type;
+ TQString type;
/// The name of the condition
- QString conditionName;
+ TQString conditionName;
};
/**
@@ -241,7 +241,7 @@ class NewLineAST: public AST
public:
NewLineAST(): AST(AST::NewLineAST) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
};
@@ -255,10 +255,10 @@ class CommentAST: public AST
public:
CommentAST(): AST(AST::CommentAST) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
/**Comment text.*/
- QString comment;
+ TQString comment;
};