summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp
diff options
context:
space:
mode:
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;