summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/search.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
index 68fcd7e1..90cc9a10 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
@@ -404,7 +404,7 @@ searchSave(const xmlChar * fileName)
if (xmlSaveFormatFile((char *) searchInput, searchDataBase, 1) != -1){
result = 1;
}else{
- xsldbgGenericErrorFunc(i18n("Error: Unable to write search Database to file %1. Try setting the \"searchresultspath\" option to a writable path.\n").arg(xsldbgText(searchInput)));
+ xsldbgGenericErrorFunc(i18n("Error: Unable to write search Database to file %1. Try setting the \"searchresultspath\" option to a writable path.\n").tqarg(xsldbgText(searchInput)));
}
if (searchInput)
@@ -479,9 +479,9 @@ searchQuery(const xmlChar * tempFile, const xmlChar * outputFile,
result = filesMoreFile(searchOutput, NULL);
}
- xsldbgGenericErrorFunc(i18n("Information: Transformed %1 using %2 and saved to %3.\n").arg(xsldbgText(searchInput)).arg(xsldbgText(searchXSL)).arg(xsldbgText(searchOutput)));
+ xsldbgGenericErrorFunc(i18n("Information: Transformed %1 using %2 and saved to %3.\n").tqarg(xsldbgText(searchInput)).tqarg(xsldbgText(searchXSL)).tqarg(xsldbgText(searchOutput)));
} else {
- xsldbgGenericErrorFunc(i18n("Error: Invalid arguments to command %1.\n").arg("search"));
+ xsldbgGenericErrorFunc(i18n("Error: Invalid arguments to command %1.\n").tqarg("search"));
}
if (searchInput)
@@ -720,7 +720,7 @@ findTemplateNode(xsltStylesheetPtr style, const xmlChar * name)
}
if (!result)
- xsldbgGenericErrorFunc(i18n("Error: XSLT template named \"%1\" was not found.\n").arg(xsldbgText(name)));
+ xsldbgGenericErrorFunc(i18n("Error: XSLT template named \"%1\" was not found.\n").tqarg(xsldbgText(name)));
return result;
}
@@ -1334,16 +1334,16 @@ searchLocalNode(xmlNodePtr variable)
xmlNodePtr node = NULL;
int result = 1;
xmlChar *value;
- xmlNodePtr parent;
+ xmlNodePtr tqparent;
if (variable) {
node = searchGlobalNode(variable);
if (node) {
/* if unable to create any property failed then result will be equal to 0 */
- parent = variable->parent;
+ tqparent = variable->parent;
/* try to find out what template this variable belongs to */
- if (parent && IS_XSLT_NAME(parent, "template")) {
- value = xmlGetProp(parent, (xmlChar *) "name");
+ if (tqparent && IS_XSLT_NAME(tqparent, "template")) {
+ value = xmlGetProp(tqparent, (xmlChar *) "name");
if (value) {
result = result
&&
@@ -1351,7 +1351,7 @@ searchLocalNode(xmlNodePtr variable)
!= NULL);
xmlFree(value);
}
- value = xmlGetProp(parent, (xmlChar *) "match");
+ value = xmlGetProp(tqparent, (xmlChar *) "match");
if (value) {
result = result
&&
@@ -1398,7 +1398,7 @@ searchSourceNode(xsltStylesheetPtr style)
!= NULL);
if (style->parent && style->parent->doc) {
result = result &&
- (xmlNewProp(node, (xmlChar *) "parent",
+ (xmlNewProp(node, (xmlChar *) "tqparent",
style->parent->doc->URL) != NULL);
}
if (result) {