From 98a12d05a48814bec3870b9a6d5865475cfa1c95 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 4 Jan 2011 02:22:38 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kturtle/src/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kturtle/src/parser.cpp') diff --git a/kturtle/src/parser.cpp b/kturtle/src/parser.cpp index 07a33aea..ed2573f9 100644 --- a/kturtle/src/parser.cpp +++ b/kturtle/src/parser.cpp @@ -188,7 +188,7 @@ TreeNode* Parser::Factor() case tokUnknown: node = getId(); - if (learnedFunctionList.contains(rememberedToken.look) > 0) // is function call + if (learnedFunctionList.tqcontains(rememberedToken.look) > 0) // is function call { delete node; node = FunctionCall(rememberedToken); @@ -1057,7 +1057,7 @@ TreeNode* Parser::Other() matchToken(tokUnknown); if (currentToken.type == tokAssign) return Assignment(rememberedToken); - else if (learnedFunctionList.contains(rememberedToken.look) > 0) + else if (learnedFunctionList.tqcontains(rememberedToken.look) > 0) { TreeNode* node; node = FunctionCall(rememberedToken); -- cgit v1.2.1