summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp
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
commit36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch)
tree629d3942958745660e36c30b0d6139af9459c0f8 /kxsldbg/kxsldbgpart/xsldbgoutputview.cpp
parent929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff)
downloadtdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz
tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip
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
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgoutputview.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgoutputview.cpp22
1 files changed, 11 insertions, 11 deletions
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;