summaryrefslogtreecommitdiffstats
path: root/languages/ada/ada.store.g
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada/ada.store.g')
-rw-r--r--languages/ada/ada.store.g18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/ada/ada.store.g b/languages/ada/ada.store.g
index 31dccf99..b15e5f3e 100644
--- a/languages/ada/ada.store.g
+++ b/languages/ada/ada.store.g
@@ -9,8 +9,8 @@ header "pre_include_hpp" {
#include <qfileinfo.h>
#include <codemodel.h>
-#include "AdaAST.hpp"
-#include "ada_utils.hpp"
+#include "AdaAST.h"
+#include "ada_utils.h"
}
header "post_include_hpp" {
@@ -30,7 +30,7 @@ options {
{
private:
- QString m_fileName;
+ TQString m_fileName;
QValueList<NamespaceDom> m_scopeStack;
CodeModel* m_model;
QValueList<QStringList> m_imports;
@@ -46,8 +46,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 ();
@@ -66,13 +66,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 );
+ TQString prefix( *it );
NamespaceDom ns = scope->namespaceByName( prefix );
// kdDebug() << "insertScopeContainer begin with prefix " << prefix << endl;
if (!ns.data()) {
@@ -89,7 +89,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 );
@@ -592,7 +592,7 @@ name_or_qualified
package_body
: #(PACKAGE_BODY id:def_id
/* TBD
- { QString name (qtext (id));
+ { TQString name (qtext (id));
}
*/
pkg_body_part)