mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Mark deprecated method
This commit is contained in:
@@ -103,6 +103,15 @@ class Element : public QetGraphicsItem
|
||||
DiagramContext elementInformations()const
|
||||
{return m_data.m_informations;}
|
||||
virtual void setElementInformations(DiagramContext dc);
|
||||
|
||||
ElementData elementData() const;
|
||||
|
||||
/**
|
||||
* @brief kindInformations
|
||||
* @deprecated
|
||||
* use elementData function instead
|
||||
* @return
|
||||
*/
|
||||
DiagramContext kindInformations() const
|
||||
{return m_kind_informations;}
|
||||
//@kind_information_ is used to store more information
|
||||
@@ -165,8 +174,20 @@ class Element : public QetGraphicsItem
|
||||
virtual void unlinkElement(Element *) {}
|
||||
virtual void initLink(QETProject *);
|
||||
QList<Element *> linkedElements ();
|
||||
|
||||
/**
|
||||
* @brief linkType
|
||||
* use elementData function instead
|
||||
* @return
|
||||
*/
|
||||
virtual kind linkType() const {return m_link_type;} // return the linkable type
|
||||
/**
|
||||
* @brief linkTypeToString
|
||||
* use elementData function instead
|
||||
* @return
|
||||
*/
|
||||
QString linkTypeToString() const;
|
||||
|
||||
void newUuid() {m_uuid = QUuid::createUuid();} //create new uuid for this element
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user