summaryrefslogtreecommitdiffstats
path: root/lib/util/domutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/domutil.h')
-rw-r--r--lib/util/domutil.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/util/domutil.h b/lib/util/domutil.h
index 08d2571a..394b3600 100644
--- a/lib/util/domutil.h
+++ b/lib/util/domutil.h
@@ -45,7 +45,7 @@ typedef TQValueList<DomPathElement> DomPath;
class DomUtil
{
public:
- typedef QPair<TQString, TQString> Pair;
+ typedef TQPair<TQString, TQString> Pair;
typedef TQValueList<Pair> PairList;
/**
* Remove all child elements from a given element.
@@ -54,7 +54,7 @@ public:
/**
* Reads a string entry.
*/
- static TQString readEntry(const TQDomDocument &doc, const TQString &path, const TQString &defaultEntry = TQString::null);
+ static TQString readEntry(const TQDomDocument &doc, const TQString &path, const TQString &defaultEntry = TQString());
/**
* Reads a number entry.
*/
@@ -168,13 +168,13 @@ public:
Retrieve an element specified with extended path
examples:
- - 1: "widget|class=QDialog/property|name=geometry"
- or "widget|class=QDialog/property||1"
+ - 1: "widget|class=TQDialog/property|name=tqgeometry"
+ or "widget|class=TQDialog/property||1"
- 2: "widget/property|name=caption/string"
or "widget/property||2/string"
.
\verbatim
- <widget class="TQDialog">
+ <widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>KdevFormName</cstring>
</property>
@@ -205,17 +205,17 @@ public:
static bool saveDOMFile(TQDomDocument &doc, TQString filename);
/**
- * Remove all child text nodes of parent described in pathExt
+ * Remove all child text nodes of tqparent described in pathExt
*/
static bool removeTextNodes(TQDomDocument doc,TQString pathExt);
/**
- * Add child text node to parent described in pathExt
+ * Add child text node to tqparent described in pathExt
*/
static bool appendText(TQDomDocument doc, TQString pathExt, TQString text);
/**
- * Replace all chilt text nodes of parent described in pathExt with one new.
+ * Replace all chilt text nodes of tqparent described in pathExt with one new.
*/
static bool replaceText(TQDomDocument doc, TQString pathExt, TQString text);