From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/util/domutil.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/util/domutil.h') 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 DomPath; class DomUtil { public: - typedef QPair Pair; + typedef TQPair Pair; typedef TQValueList 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 - + KdevFormName @@ -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); -- cgit v1.2.3