mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
Classes "ElementPerso" et "PanelAppareils" renommees en "CustomElement" et "ElementsPanel"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@48 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <math.h>
|
||||
#include "conducer.h"
|
||||
#include "elementperso.h"
|
||||
#include "customelement.h"
|
||||
#include "diagram.h"
|
||||
|
||||
/**
|
||||
@@ -349,7 +349,7 @@ Element *Diagram::elementFromXml(QDomElement &e, QHash<int, Terminal *> &table_i
|
||||
QString type = e.attribute("type");
|
||||
QString chemin_fichier = QETApp::realPath(type);
|
||||
int etat;
|
||||
Element *nvel_elmt = new ElementPerso(chemin_fichier, 0, 0, &etat);
|
||||
Element *nvel_elmt = new CustomElement(chemin_fichier, 0, 0, &etat);
|
||||
if (etat != 0) return(false);
|
||||
|
||||
// charge les caracteristiques de l'element
|
||||
|
||||
Reference in New Issue
Block a user