summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/qmake/qmakeast.h
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/lib/parsers/qmake/qmakeast.h')
-rw-r--r--buildtools/lib/parsers/qmake/qmakeast.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/buildtools/lib/parsers/qmake/qmakeast.h b/buildtools/lib/parsers/qmake/qmakeast.h
index 35612fc1..45aedb2e 100644
--- a/buildtools/lib/parsers/qmake/qmakeast.h
+++ b/buildtools/lib/parsers/qmake/qmakeast.h
@@ -20,7 +20,7 @@
#ifndef QMAKEQMAKEAST_H
#define QMAKEQMAKEAST_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
/**
@file qmakeast.h
@@ -66,7 +66,7 @@ public:
/**Writes information stored in the AST into the @p buffer.
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; }
@@ -76,10 +76,10 @@ public:
/**@return The depth of the node in AST.*/
int depth() const { return m_depth; }
/**@return The indentation string based on node depth.*/
- virtual QString indentation();
+ virtual TQString indentation();
/**The list of child AST nodes.*/
- QValueList<AST*> m_children;
+ TQValueList<AST*> m_children;
protected:
NodeType m_nodeType;
@@ -122,7 +122,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);
/**@return true if this node is a project.*/
bool isProject() const { return m_kind == Project; }
@@ -133,20 +133,20 @@ public:
/**@return true if this node is empty.*/
bool isEmpty() const { return m_kind == Empty; }
- void setFileName(const QString& fileName) { m_fileName = fileName; }
- QString fileName() const { return m_fileName; }
+ void setFileName(const TQString& fileName) { m_fileName = fileName; }
+ TQString fileName() const { return m_fileName; }
void setLineEnding( LineEnding );
LineEnding lineEnding();
/**Scoped identifier (scope name or function name).*/
- QString scopedID;
+ TQString scopedID;
/**Function arguments. Empty for other kinds of projects.*/
- QString args;
+ TQString args;
private:
Kind m_kind;
- QString m_fileName;
+ TQString m_fileName;
LineEnding m_lineEnding;
};
@@ -176,16 +176,16 @@ public:
AssignmentAST(): AST(AST::AssignmentAST){}
~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;
/**Indentation of multiline values*/
- QString indent;
+ TQString indent;
};
@@ -197,7 +197,7 @@ class NewLineAST: public AST {
public:
NewLineAST(): AST(AST::NewLineAST) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
};
@@ -210,10 +210,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;
};
@@ -226,9 +226,9 @@ class IncludeAST: public AST {
public:
IncludeAST(): AST(AST::IncludeAST) {}
- virtual void writeBack(QString &buffer);
+ virtual void writeBack(TQString &buffer);
- QString projectName;
+ TQString projectName;
};
}