diff options
Diffstat (limited to 'languages/cpp/store_walker.h')
-rw-r--r-- | languages/cpp/store_walker.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/languages/cpp/store_walker.h b/languages/cpp/store_walker.h index 488e692b..49c4bb8f 100644 --- a/languages/cpp/store_walker.h +++ b/languages/cpp/store_walker.h @@ -14,14 +14,14 @@ #include "tree_parser.h" #include <codemodel.h> -#include <qstringlist.h> -#include <qvaluestack.h> +#include <tqstringlist.h> +#include <tqvaluestack.h> #include <hashedstring.h> class StoreWalker: public TreeParser { public: - StoreWalker( const QString& fileName, CodeModel* store ); + StoreWalker( const TQString& fileName, CodeModel* store ); virtual ~StoreWalker(); FileDom file() @@ -61,19 +61,19 @@ public: virtual void parseBaseClause( BaseClauseAST* baseClause, ClassDom klass ); private: - NamespaceDom findOrInsertNamespace( NamespaceAST* ast, const QString& name ); - QString typeOfDeclaration( TypeSpecifierAST* typeSpec, DeclaratorAST* declarator ); - QStringList scopeOfName( NameAST* id, const QStringList& scope ); - QStringList scopeOfDeclarator( DeclaratorAST* d, const QStringList& scope ); - ClassDom classFromScope(const QStringList& scope); - ClassDom findClassFromScope(const QStringList& scope); + NamespaceDom findOrInsertNamespace( NamespaceAST* ast, const TQString& name ); + TQString typeOfDeclaration( TypeSpecifierAST* typeSpec, DeclaratorAST* declarator ); + TQStringList scopeOfName( NameAST* id, const TQStringList& scope ); + TQStringList scopeOfDeclarator( DeclaratorAST* d, const TQStringList& scope ); + ClassDom classFromScope(const TQStringList& scope); + ClassDom findClassFromScope(const TQStringList& scope); void checkTemplateDeclarator( TemplateModelItem* item ); private: class CommentPusher { StoreWalker& m_ref; public: - CommentPusher( StoreWalker& ref, QString comment ) : m_ref( ref ) { + CommentPusher( StoreWalker& ref, TQString comment ) : m_ref( ref ) { m_ref.pushComment( comment ); } ~CommentPusher() { @@ -81,9 +81,9 @@ private: } }; - QStringList m_comments; + TQStringList m_comments; - QString comment() { + TQString comment() { if( m_comments.isEmpty() ) { return ""; } else { @@ -95,7 +95,7 @@ private: int mergeGroups( int g1, int g2 ); public: - void pushComment( QString comm ) { + void pushComment( TQString comm ) { m_comments.push_front( comm ); } @@ -103,19 +103,19 @@ public: m_comments.pop_front(); } - void setOverrides( const QMap<QString, FileDom>& overrides ) { + void setOverrides( const TQMap<TQString, FileDom>& overrides ) { m_overrides = overrides; } private: - QMap<QString, FileDom> m_overrides; + TQMap<TQString, FileDom> m_overrides; FileDom m_file; - QString m_fileName; + TQString m_fileName; HashedString m_hashedFileName; - QStringList m_currentScope; + TQStringList m_currentScope; CodeModel* m_store; - QValueList<QPair<QMap<QString, ClassDom>, QStringList> > m_imports; + TQValueList<QPair<TQMap<TQString, ClassDom>, TQStringList> > m_imports; int m_currentAccess; bool m_inSlots; bool m_inSignals; @@ -124,11 +124,11 @@ private: bool m_inTypedef; DeclaratorAST* m_currentDeclarator; - QValueStack<TemplateDeclarationAST*> m_currentTemplateDeclarator; - QValueStack<NamespaceDom> m_currentNamespace; - QValueStack<ClassDom> m_currentClass; + TQValueStack<TemplateDeclarationAST*> m_currentTemplateDeclarator; + TQValueStack<NamespaceDom> m_currentNamespace; + TQValueStack<ClassDom> m_currentClass; - QStringList findScope( const QStringList& scope ); + TQStringList findScope( const TQStringList& scope ); private: |