From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/simplecontext.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'languages/cpp/simplecontext.h') 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 -#include +#include +#include #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& vars() const + const TQValueList& vars() const { return m_vars; } @@ -128,24 +128,24 @@ class SimpleContext m_vars.append( v ); } - void add( const QValueList& vars ) + void add( const TQValueList& vars ) { m_vars += vars; } //First the new name, aka "" for real imports, second the name to be imported - void addImport( const QPair& import ) { + void addImport( const QPair& import ) { m_imports << import; } //Key the new name, aka "" for real imports, second the name to be imported - QValueList > imports() { + TQValueList > 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 m_vars; - QValueList > m_imports; + TQValueList m_vars; + TQValueList > m_imports; SimpleContext* m_prev; SimpleType m_container; }; -- cgit v1.2.1