From 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 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/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kxsldbg/kxsldbgpart/xsldbgoutputview.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kxsldbg/kxsldbgpart/xsldbgoutputview.cpp') diff --git a/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp b/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp index 0292e282..db15bc1d 100644 --- a/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp +++ b/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp @@ -70,26 +70,26 @@ void XsldbgOutputView::slotProcShowMessage(TQString msg) bool processed = FALSE; // Is this a result of an evaluate command if ((msg[0] == TQChar('=')) && (msg[1] == TQChar(' '))){ - int endPosition = msg.tqfind(TQChar('\n')); + int endPosition = msg.find(TQChar('\n')); if (endPosition >= 0){ processed = TRUE; showDialog(TQMessageBox::Information, i18n("Result of evaluation"), msg.mid(endPosition + 1)); } }else /* Is there some sort of error message in msg */ - if ((msg.tqfind("Error:") != -1) || - (msg.tqfind("Warning:") != -1) || - (msg.tqfind("Request to xsldbg failed") != -1) || + if ((msg.find("Error:") != -1) || + (msg.find("Warning:") != -1) || + (msg.find("Request to xsldbg failed") != -1) || /* the following errors are libxml or libxslt generated */ - (msg.tqfind("error:") != -1) || - (msg.tqfind("xmlXPathEval:") != -1) || - (msg.tqfind("runtime error") != -1)) { + (msg.find("error:") != -1) || + (msg.find("xmlXPathEval:") != -1) || + (msg.find("runtime error") != -1)) { /* OK we've found an error but ingore any errors about data or source files */ - if ((msg.tqfind("Error: No XSL source file supplied") == -1) && - (msg.tqfind("Error: No XML data file supplied") == -1) && - (msg.tqfind("Load of source deferred") == -1) && - (msg.tqfind("Load of data deferred") == -1) ) + if ((msg.find("Error: No XSL source file supplied") == -1) && + (msg.find("Error: No XML data file supplied") == -1) && + (msg.find("Load of source deferred") == -1) && + (msg.find("Load of data deferred") == -1) ) showDialog(TQMessageBox::Warning, i18n("Request Failed "), msg); processed = TRUE; -- cgit v1.2.3