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.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'languages/cpp/simplecontext.cpp') diff --git a/languages/cpp/simplecontext.cpp b/languages/cpp/simplecontext.cpp index 08af929d..225bfc84 100644 --- a/languages/cpp/simplecontext.cpp +++ b/languages/cpp/simplecontext.cpp @@ -34,7 +34,7 @@ SimpleType getGlobal( SimpleType t ) { } void SimpleContext::offset( int lineOffset, int colOffset ) { - for( QValueList::iterator it = m_vars.begin(); it != m_vars.end(); ++it ) { + for( TQValueList::iterator it = m_vars.begin(); it != m_vars.end(); ++it ) { if( (*it).endLine != (*it).startLine || (*it).endCol != (*it).startCol) { if( (*it).startLine == 0 ) { (*it).startCol += colOffset; @@ -48,12 +48,12 @@ void SimpleContext::offset( int lineOffset, int colOffset ) { } } -SimpleVariable SimpleContext::findVariable( const QString& varname ) +SimpleVariable SimpleContext::findVariable( const TQString& varname ) { SimpleContext * ctx = this; while ( ctx ) { - const QValueList& vars = ctx->vars(); + const TQValueList& vars = ctx->vars(); for ( int i = vars.count() - 1; i >= 0; --i ) { SimpleVariable v = vars[ i ]; -- cgit v1.2.1