fix wrong methods name

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2173 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-05-20 19:58:31 +00:00
parent 2a019bb62b
commit e0c99d2cda
3 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ NumerotationContext::NumerotationContext(){
* Constructor from xml
*/
NumerotationContext::NumerotationContext(QDomElement &e) {
fromXML(e);
fromXml(e);
}
/**
@@ -127,10 +127,10 @@ bool NumerotationContext::keyIsNumber(const QString &type) const {
}
/**
* @brief NumerotationContext::toXML
* @brief NumerotationContext::toXml
* Save the numerotation context in a QDomElement under the element name @str
*/
QDomElement NumerotationContext::toXML(QDomDocument &d, QString str) {
QDomElement NumerotationContext::toXml(QDomDocument &d, QString str) {
QDomElement num_auto = d.createElement(str);
for (int i=0; i<content_.size(); ++i) {
QStringList strl = itemAt(i);
@@ -144,10 +144,10 @@ QDomElement NumerotationContext::toXML(QDomDocument &d, QString str) {
}
/**
* @brief NumerotationContext::fromXML
* @brief NumerotationContext::fromXml
* load numerotation context from @e
*/
void NumerotationContext::fromXML(QDomElement &e) {
void NumerotationContext::fromXml(QDomElement &e) {
clear();
foreach(QDomElement qde, QET::findInDomElement(e, "part")) addValue(qde.attribute("type"), qde.attribute("value"), qde.attribute("increase").toInt());
}