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:
xavierqet
2007-01-30 22:32:21 +00:00
parent 29d35a2007
commit a5cc50f5ab
9 changed files with 44 additions and 44 deletions

View File

@@ -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