From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- buildtools/lib/parsers/qmake/qmakeast.h | 40 ++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'buildtools/lib/parsers/qmake/qmakeast.h') 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 +#include /** @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 m_children; + TQValueList 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; }; } -- cgit v1.2.3