summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simplecontext.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/simplecontext.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};