remove the class comment item

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5277 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-03-25 14:58:33 +00:00
parent a7917bb5bb
commit 6a958c668a
6 changed files with 5 additions and 268 deletions

View File

@@ -16,7 +16,6 @@
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "terminalelement.h"
#include "commentitem.h"
/**
* @brief TerminalElement::TerminalElement
@@ -27,16 +26,10 @@
* @param state int used to know if the creation of element have error
*/
TerminalElement::TerminalElement(const ElementsLocation &location, QGraphicsItem *qgi, int *state) :
CustomElement(location, qgi, state),
m_comment_item (nullptr),
m_location_item (nullptr)
{
m_link_type = Terminale;
}
CustomElement(location, qgi, state)
{m_link_type = Terminale;}
TerminalElement::~TerminalElement() {
if (m_comment_item) delete m_comment_item;
}
TerminalElement::~TerminalElement() {}
/**
* @brief TerminalElement::initLink