diff options
Diffstat (limited to 'languages/ada/AdaStoreWalker.hpp')
-rw-r--r-- | languages/ada/AdaStoreWalker.hpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/ada/AdaStoreWalker.hpp b/languages/ada/AdaStoreWalker.hpp index 6f108ff6..c18f5dcd 100644 --- a/languages/ada/AdaStoreWalker.hpp +++ b/languages/ada/AdaStoreWalker.hpp @@ -3,9 +3,9 @@ #line 1 "expandedada.store.g" -#include <qstring.h> -#include <qstringlist.h> -#include <qfileinfo.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqfileinfo.h> #include <codemodel.h> #include "AdaAST.hpp" @@ -28,10 +28,10 @@ class CUSTOM_API AdaStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, p #line 25 "expandedada.store.g" private: - QString m_fileName; - QValueList<NamespaceDom> m_scopeStack; + TQString m_fileName; + TQValueList<NamespaceDom> m_scopeStack; CodeModel* m_model; - QValueList<QStringList> m_imports; + TQValueList<TQStringList> m_imports; NamespaceDom m_currentContainer; int m_currentAccess; bool m_addToStore; /* auxiliary variable: for the moment, this is `true' @@ -44,8 +44,8 @@ public: CodeModel* codeModel () { return m_model; } const CodeModel* codeModel () const { return m_model; } - QString fileName () const { return m_fileName; } - void setFileName (const QString& fileName) { m_fileName = fileName; } + TQString fileName () const { return m_fileName; } + void setFileName (const TQString& fileName) { m_fileName = fileName; } void init () { m_scopeStack.clear (); @@ -64,13 +64,13 @@ public: void wipeout () { m_model->wipeout (); } // void out () { m_store->out (); } - void removeWithReferences (const QString& fileName) { + void removeWithReferences (const TQString& fileName) { m_model->removeFile (m_model->fileByName(fileName)); } NamespaceDom insertScopeContainer - (NamespaceDom scope, const QStringList & scopes ) { - QStringList::ConstIterator it = scopes.begin(); - QString prefix( *it ); + (NamespaceDom scope, const TQStringList & scopes ) { + TQStringList::ConstIterator it = scopes.begin(); + TQString prefix( *it ); NamespaceDom ns = scope->namespaceByName( prefix ); // kdDebug() << "insertScopeContainer begin with prefix " << prefix << endl; if (!ns.data()) { @@ -87,7 +87,7 @@ public: } // kdDebug() << "insertScopeContainer: while" << endl; while ( ++it != scopes.end() ) { - QString nameSegment( *it ); + TQString nameSegment( *it ); prefix += "." + nameSegment; // kdDebug() << "insertScopeContainer: while prefix = " << prefix << endl; NamespaceDom inner = scope->namespaceByName( prefix ); @@ -104,7 +104,7 @@ public: return ns; } NamespaceDom defineScope( RefAdaAST namenode ) { - QStringList scopes( qnamelist( namenode ) ); + TQStringList scopes( qnamelist( namenode ) ); // kdDebug() << "defineScope: " << scopes.join(" ") << endl; NamespaceDom psc = insertScopeContainer( m_currentContainer, scopes ); // kdDebug() << "defineScope psc created" << endl; |