summaryrefslogtreecommitdiffstats
path: root/src/common/global/xml_data_file.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitf7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch)
treed1d583f11612d149bc0718c80779df4653699dbb /src/common/global/xml_data_file.cpp
parentd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff)
downloadpiklab-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/common/global/xml_data_file.cpp')
-rw-r--r--src/common/global/xml_data_file.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/global/xml_data_file.cpp b/src/common/global/xml_data_file.cpp
index 30d42cd..528f8e7 100644
--- a/src/common/global/xml_data_file.cpp
+++ b/src/common/global/xml_data_file.cpp
@@ -52,28 +52,28 @@ bool XmlDataFile::save(TQString &error) const
return ok;
}
-TQDomElement XmlDataFile::findChildElement(TQDomElement tqparent, const TQString &name) const
+TQDomElement XmlDataFile::findChildElement(TQDomElement parent, const TQString &name) const
{
- TQDomNodeList list = tqparent.elementsByTagName(name);
+ TQDomNodeList list = parent.elementsByTagName(name);
return list.item(0).toElement();
}
-TQDomElement XmlDataFile::createChildElement(TQDomElement tqparent, const TQString &name)
+TQDomElement XmlDataFile::createChildElement(TQDomElement parent, const TQString &name)
{
- TQDomNodeList list = tqparent.elementsByTagName(name);
+ TQDomNodeList list = parent.elementsByTagName(name);
if ( list.count()==0 ) {
TQDomElement element = _document.createElement(name);
- tqparent.appendChild(element);
+ parent.appendChild(element);
return element;
}
return list.item(0).toElement();
}
-void XmlDataFile::removeChilds(TQDomNode tqparent) const
+void XmlDataFile::removeChilds(TQDomNode parent) const
{
- TQDomNodeList list = tqparent.childNodes();
+ TQDomNodeList list = parent.childNodes();
for (uint i=0; i<list.count(); i++)
- tqparent.removeChild(list.item(i));
+ parent.removeChild(list.item(i));
}
TQString XmlDataFile::value(const TQString &group, const TQString &key, const TQString &defValue) const