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 --- languages/cpp/tag_creator.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'languages/cpp/tag_creator.h') diff --git a/languages/cpp/tag_creator.h b/languages/cpp/tag_creator.h index 47d0b66f..425d7135 100644 --- a/languages/cpp/tag_creator.h +++ b/languages/cpp/tag_creator.h @@ -14,22 +14,22 @@ #include "tree_parser.h" -#include -#include +#include +#include class Catalog; class Tag; namespace TagUtils { - int stringToAccess( const QString& access ); - QString accessToString( int id ); + int stringToAccess( const TQString& access ); + TQString accessToString( int id ); } class TagCreator: public TreeParser { public: - TagCreator( const QString& fileName, Catalog* c ); + TagCreator( const TQString& fileName, Catalog* c ); virtual ~TagCreator(); // translation-unit @@ -55,7 +55,7 @@ public: virtual void parseMyDeclaration( GroupAST* funSpec, GroupAST* storageSpec, TypeSpecifierAST* typeSpec, InitDeclaratorAST* decl ); virtual void parseFunctionDeclaration( GroupAST* funSpec, GroupAST* storageSpec, TypeSpecifierAST* typeSpec, InitDeclaratorAST* decl ); virtual void parseFunctionArguments( Tag& tag, DeclaratorAST* declarator ); - virtual void parseBaseClause( const QString& className, BaseClauseAST* baseClause ); + virtual void parseBaseClause( const TQString& className, BaseClauseAST* baseClause ); /** call this function after the last use of a TagCreator object, to do cleanup work @@ -64,14 +64,14 @@ public: /** This sets the directories, where the doxygen documentation should be searched in. - @param dirs QStringList containing strings, which define the pathes, where documentation is searched in + @param dirs TQStringList containing strings, which define the pathes, where documentation is searched in */ - static void setDocumentationDirectories( const QStringList& dirs ); + static void setDocumentationDirectories( const TQStringList& dirs ); private: - QString scopeOfDeclarator( DeclaratorAST* d ); - QString typeOfDeclaration( TypeSpecifierAST* typeSpec, DeclaratorAST* declarator ); + TQString scopeOfDeclarator( DeclaratorAST* d ); + TQString typeOfDeclaration( TypeSpecifierAST* typeSpec, DeclaratorAST* declarator ); private: @@ -81,7 +81,7 @@ private: class CommentPusher { TagCreator& m_ref; public: - CommentPusher( TagCreator& ref, QString comment ) : m_ref( ref ) { + CommentPusher( TagCreator& ref, TQString comment ) : m_ref( ref ) { m_ref.pushComment( comment ); } ~CommentPusher() { @@ -89,9 +89,9 @@ private: } }; - QStringList m_comments; + TQStringList m_comments; - QString comment() { + TQString comment() { if( m_comments.isEmpty() ) { return ""; } else { @@ -99,7 +99,7 @@ private: } } - void pushComment( QString comm ) { + void pushComment( TQString comm ) { m_comments.push_front( comm ); } @@ -108,16 +108,16 @@ private: } Catalog* m_catalog; - QString m_fileName; - QStringList m_currentScope; - QValueList m_imports; - QString m_currentAccess; + TQString m_fileName; + TQStringList m_currentScope; + TQValueList m_imports; + TQString m_currentAccess; bool m_inClass; bool m_inSlots; bool m_inSignals; int m_anon; - QValueStack m_currentTemplateDeclarator; + TQValueStack m_currentTemplateDeclarator; static class DoxyDoc* m_documentation; -- cgit v1.2.3