From 0813b39aed2cf4c84157a22c4c9594336d93d412 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/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/c++/kfile_cpp.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kfile-plugins/c++/kfile_cpp.cpp') diff --git a/kfile-plugins/c++/kfile_cpp.cpp b/kfile-plugins/c++/kfile_cpp.cpp index 59f4fa7e..7e81352b 100644 --- a/kfile-plugins/c++/kfile_cpp.cpp +++ b/kfile-plugins/c++/kfile_cpp.cpp @@ -94,25 +94,25 @@ bool KCppPlugin::readInfo( KFileMetaInfo& info, uint ) continue; } - if (line.tqcontains("/*")) inComment = true; + if (line.contains("/*")) inComment = true; if (!inComment) { codeLines++; - if (line.tqcontains(TQRegExp("^\\s*#\\s*include"))) Includes++; + if (line.contains(TQRegExp("^\\s*#\\s*include"))) Includes++; - int pos = line.tqfind("//"); + int pos = line.find("//"); if (pos>=0) commentLines++; // truncate the comment - we don't want to count strings in it line.truncate(pos); - Strings+=line.tqcontains(TQRegExp("\".*\"")); - Stringsi18n+=line.tqcontains(TQRegExp("(?:i18n|I18N_NOOP)\\s*\\(")); + Strings+=line.contains(TQRegExp("\".*\"")); + Stringsi18n+=line.contains(TQRegExp("(?:i18n|I18N_NOOP)\\s*\\(")); } else commentLines++; - if (line.tqcontains("*/")) inComment = false; + if (line.contains("*/")) inComment = false; } KFileMetaInfoGroup group = appendGroup(info, "General"); -- cgit v1.2.1