summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simplecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simplecontext.h')
-rw-r--r--languages/cpp/simplecontext.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/cpp/simplecontext.h b/languages/cpp/simplecontext.h
index 310d4f4d..d1fde70a 100644
--- a/languages/cpp/simplecontext.h
+++ b/languages/cpp/simplecontext.h
@@ -22,8 +22,8 @@
#ifndef SIMPLECONTEXT_H
#define SIMPLECONTEXT_H
-#include <qvaluelist.h>
-#include <qstringlist.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
#include "declarationinfo.h"
#include "typedesc.h"
@@ -65,14 +65,14 @@ public:
return *this;
}
- QString name;
- QString comment;
+ TQString name;
+ TQString comment;
int startLine, startCol;
int endLine, endCol;
TypeDesc type;
- QStringList ptrList;
+ TQStringList ptrList;
- DeclarationInfo toDeclarationInfo( QString activeFileName ) {
+ DeclarationInfo toDeclarationInfo( TQString activeFileName ) {
DeclarationInfo decl;
decl.name = name;
decl.file = activeFileName;
@@ -118,7 +118,7 @@ class SimpleContext
m_prev = 0;
}
- const QValueList<SimpleVariable>& vars() const
+ const TQValueList<SimpleVariable>& vars() const
{
return m_vars;
}
@@ -128,24 +128,24 @@ class SimpleContext
m_vars.append( v );
}
- void add( const QValueList<SimpleVariable>& vars )
+ void add( const TQValueList<SimpleVariable>& vars )
{
m_vars += vars;
}
//First the new name, aka "" for real imports, second the name to be imported
- void addImport( const QPair<QString, QString>& import ) {
+ void addImport( const QPair<TQString, TQString>& import ) {
m_imports << import;
}
//Key the new name, aka "" for real imports, second the name to be imported
- QValueList<QPair<QString, QString> > imports() {
+ TQValueList<QPair<TQString, TQString> > imports() {
return m_imports;
}
void offset( int lineOffset, int colOffset );
- SimpleVariable findVariable( const QString& varname );
+ SimpleVariable findVariable( const TQString& varname );
SimpleType global() {
return getGlobal( container() );
@@ -161,8 +161,8 @@ class SimpleContext
}
private:
- QValueList<SimpleVariable> m_vars;
- QValueList<QPair<QString, QString> > m_imports;
+ TQValueList<SimpleVariable> m_vars;
+ TQValueList<QPair<TQString, TQString> > m_imports;
SimpleContext* m_prev;
SimpleType m_container;
};