summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simplecontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simplecontext.cpp')
-rw-r--r--languages/cpp/simplecontext.cpp6
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 ];