From 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kxsldbg/kxsldbgpart/libxsldbg/files.cpp | 4 ++-- kxsldbg/kxsldbgpart/libxsldbg/files.h | 8 ++++---- kxsldbg/kxsldbgpart/libxsldbg/search.cpp | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kxsldbg/kxsldbgpart/libxsldbg') diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp index df764b0b..e803b1a4 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp @@ -939,7 +939,7 @@ filesEntityRef(xmlEntityPtr ent, xmlNodePtr firstNode, xmlNodePtr lastNode) /** * filesSetBaseUri: - * @node : Is valid and has a doc tqparent + * @node : Is valid and has a doc parent * @uri : Is Valid * * Set the base uri for this node. Function is used when xml file @@ -972,7 +972,7 @@ filesSetBaseUri(xmlNodePtr node, const xmlChar * uri) /** * filesGetBaseUri: - * @node : Is valid and has a doc tqparent + * @node : Is valid and has a doc parent * * Get a copy of the base uri for this node. Function is most usefull * used when xml file has external entities in its DTD diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.h b/kxsldbg/kxsldbgpart/libxsldbg/files.h index 0dd9a3e1..05e49828 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/files.h +++ b/kxsldbg/kxsldbgpart/libxsldbg/files.h @@ -138,7 +138,7 @@ extern "C" { /** * filesSetBaseUri: - * @node : Is valid and has a doc tqparent + * @node : Is valid and has a doc parent * @uri : Is Valid * * Set the base uri for this node. Function is used when xml file @@ -154,7 +154,7 @@ extern "C" { * Set the base uri for this node. Function is used when xml file * has external entities in its DTD * - * @param node Is valid and has a doc tqparent + * @param node Is valid and has a doc parent * @param uri Is Valid * * @returns 1 if successful, @@ -169,7 +169,7 @@ extern "C" { /** * filesGetBaseUri: - * @node : Is valid and has a doc tqparent + * @node : Is valid and has a doc parent * * Get a copy of the base uri for this node. Function is most usefull * used when xml file has external entities in its DTD @@ -184,7 +184,7 @@ extern "C" { * Get a copy of the base uri for this node. Function is most usefull * used when xml file has external entities in its DTD * - * @param node : Is valid and has a doc tqparent + * @param node : Is valid and has a doc parent * * @returns The a copy of the base uri for this node, * NULL otherwise diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp index 90cc9a10..dabf1d7e 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp @@ -1334,16 +1334,16 @@ searchLocalNode(xmlNodePtr variable) xmlNodePtr node = NULL; int result = 1; xmlChar *value; - xmlNodePtr tqparent; + xmlNodePtr parent; if (variable) { node = searchGlobalNode(variable); if (node) { /* if unable to create any property failed then result will be equal to 0 */ - tqparent = variable->parent; + parent = variable->parent; /* try to find out what template this variable belongs to */ - if (tqparent && IS_XSLT_NAME(tqparent, "template")) { - value = xmlGetProp(tqparent, (xmlChar *) "name"); + if (parent && IS_XSLT_NAME(parent, "template")) { + value = xmlGetProp(parent, (xmlChar *) "name"); if (value) { result = result && @@ -1351,7 +1351,7 @@ searchLocalNode(xmlNodePtr variable) != NULL); xmlFree(value); } - value = xmlGetProp(tqparent, (xmlChar *) "match"); + value = xmlGetProp(parent, (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 *) "tqparent", + (xmlNewProp(node, (xmlChar *) "parent", style->parent->doc->URL) != NULL); } if (result) { -- cgit v1.2.1