diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/simplecontext.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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.cpp')
-rw-r--r-- | languages/cpp/simplecontext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<SimpleVariable>::iterator it = m_vars.begin(); it != m_vars.end(); ++it ) { + for( TQValueList<SimpleVariable>::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<SimpleVariable>& vars = ctx->vars(); + const TQValueList<SimpleVariable>& vars = ctx->vars(); for ( int i = vars.count() - 1; i >= 0; --i ) { SimpleVariable v = vars[ i ]; |