mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
fix conductor properties xml load
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
#include <QtDebug>
|
||||
|
||||
#include "qetxml.h"
|
||||
|
||||
namespace {
|
||||
const QString conductorPropertiesXmlName = "conductorProperties";
|
||||
}
|
||||
/**
|
||||
Constructeur par defaut
|
||||
*/
|
||||
@@ -263,7 +267,7 @@ bool SingleLineProperties::valideXml(QDomElement& e) {
|
||||
multifilaire noir dont le texte est "_"
|
||||
*/
|
||||
ConductorProperties::ConductorProperties() :
|
||||
PropertiesInterface("defaultconductor")
|
||||
PropertiesInterface(xmlTagName())
|
||||
{}
|
||||
|
||||
/**
|
||||
@@ -413,6 +417,11 @@ bool ConductorProperties::valideXml(QDomElement& e) {
|
||||
return true;
|
||||
}
|
||||
|
||||
QString ConductorProperties::xmlTagName()
|
||||
{
|
||||
return conductorPropertiesXmlName;
|
||||
}
|
||||
|
||||
/**
|
||||
@param settings Parametres a ecrire
|
||||
@param prefix prefixe a ajouter devant les noms des parametres
|
||||
|
||||
Reference in New Issue
Block a user