From 330c33ab6f97b279737bf9527c9add7bb1475450 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/cppparser/ast.h | 2 +- lib/cppparser/driver.h | 4 ++-- lib/cppparser/lexer.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/cppparser') diff --git a/lib/cppparser/ast.h b/lib/cppparser/ast.h index 58704df9..ccea98e2 100644 --- a/lib/cppparser/ast.h +++ b/lib/cppparser/ast.h @@ -854,7 +854,7 @@ public: class ParameterDeclarationClauseAST* parameterDeclarationClause() { return m_parameterDeclarationClause.get(); } void setParameterDeclarationClause( AUTO_PTR& parameterDeclarationClause ); - // ### tqreplace 'constant' with cvQualify + // ### replace 'constant' with cvQualify AST* constant() { return m_constant.get(); } void setConstant( AST::Node& constant ); diff --git a/lib/cppparser/driver.h b/lib/cppparser/driver.h index 078c420f..01ff0754 100644 --- a/lib/cppparser/driver.h +++ b/lib/cppparser/driver.h @@ -297,7 +297,7 @@ class Driver { */ TQMap dependences( const TQString& fileName ) const; /** - * Get all the macros the driver tqcontains + * Get all the macros the driver contains * @return The macros */ const MacroMap& macros() const; @@ -306,7 +306,7 @@ class Driver { * Take all macros from the given map(forgetting own macros) */ void insertMacros( const MacroSet& macros ); /** - * Get the list of problem areas the driver tqcontains + * Get the list of problem areas the driver contains * @param fileName The filename to get problems for * @return The list of problems for @p fileName */ diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index b62cce32..1b98708f 100644 --- a/lib/cppparser/lexer.cpp +++ b/lib/cppparser/lexer.cpp @@ -82,7 +82,7 @@ struct LexerData const Scope& scope = *it; ++it; - if( scope.tqcontains(name) ) + if( scope.contains(name) ) return true; } @@ -96,7 +96,7 @@ struct LexerData const Scope& scope = *it; ++it; - if( scope.tqcontains(name) ) + if( scope.contains(name) ) return scope[ name ]; } -- cgit v1.2.1