diff --git a/sources/diagram.cpp b/sources/diagram.cpp index 2efa92d5f..73df458ff 100644 --- a/sources/diagram.cpp +++ b/sources/diagram.cpp @@ -321,7 +321,7 @@ QDomDocument Diagram::toXml(bool whole_content) { //autonumerotation of conductor if (!getNumerotation(Diagram::Conductors).isEmpty()) { QDomElement autonum = document.createElement("autonum"); - autonum.appendChild(getNumerotation(Diagram::Conductors).toXML(document, "conductor")); + autonum.appendChild(getNumerotation(Diagram::Conductors).toXml(document, "conductor")); racine.appendChild(autonum); } } diff --git a/sources/numerotationcontext.cpp b/sources/numerotationcontext.cpp index a99063f8b..38c1f32b5 100644 --- a/sources/numerotationcontext.cpp +++ b/sources/numerotationcontext.cpp @@ -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