summaryrefslogtreecommitdiffstats
path: root/src/common/global/xml_data_file.cpp
diff options
context:
space:
mode:
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