diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | f7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch) | |
tree | d1d583f11612d149bc0718c80779df4653699dbb /src/xml_to_data | |
parent | d98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff) | |
download | piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.tar.gz piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/xml_to_data')
-rw-r--r-- | src/xml_to_data/xml_to_data.cpp | 4 | ||||
-rw-r--r-- | src/xml_to_data/xml_to_data.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/xml_to_data/xml_to_data.cpp b/src/xml_to_data/xml_to_data.cpp index 39eba60..8e14d81 100644 --- a/src/xml_to_data/xml_to_data.cpp +++ b/src/xml_to_data/xml_to_data.cpp @@ -11,11 +11,11 @@ #include <tqfile.h> #include <tqtextstream.h> -TQDomElement XmlToData::findUniqueElement(TQDomElement tqparent, const TQString &tag, +TQDomElement XmlToData::findUniqueElement(TQDomElement parent, const TQString &tag, const TQString &attribute, const TQString &value) const { TQDomElement element; - TQDomNode child = tqparent.firstChild(); + TQDomNode child = parent.firstChild(); while ( !child.isNull() ) { if ( child.nodeName()==tag && child.isElement() && (attribute.isEmpty() || child.toElement().attribute(attribute)==value) ) { diff --git a/src/xml_to_data/xml_to_data.h b/src/xml_to_data/xml_to_data.h index 5ba4290..5630f1b 100644 --- a/src/xml_to_data/xml_to_data.h +++ b/src/xml_to_data/xml_to_data.h @@ -26,7 +26,7 @@ protected: virtual TQString currentDevice() const = 0; virtual void warning(const TQString &message) const; virtual void qFatal(const TQString &message) const; - TQDomElement findUniqueElement(TQDomElement tqparent, const TQString &nodeName, + TQDomElement findUniqueElement(TQDomElement parent, const TQString &nodeName, const TQString &attribute, const TQString &value) const; void checkTagNames(TQDomElement element, const TQString &tag, const TQStringList &names) const; TQDomDocument parseFile(const TQString &filename) const; |