summaryrefslogtreecommitdiffstats
path: root/lib/cppparser
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /lib/cppparser
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
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
Diffstat (limited to 'lib/cppparser')
-rw-r--r--lib/cppparser/ast.h2
-rw-r--r--lib/cppparser/driver.h4
-rw-r--r--lib/cppparser/lexer.cpp4
3 files changed, 5 insertions, 5 deletions
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<class ParameterDeclarationClauseAST>& 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<TQString, Dependence> 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 ];
}