From e0c99d2cda96186c342490ba734117fceb5f66fe Mon Sep 17 00:00:00 2001 From: blacksun Date: Mon, 20 May 2013 19:58:31 +0000 Subject: [PATCH] fix wrong methods name git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2173 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagram.cpp | 2 +- sources/numerotationcontext.cpp | 10 +++++----- sources/numerotationcontext.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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