mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix regression occurred in rev 3439
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3458 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
ceea767f26
commit
b311b4b195
@ -108,7 +108,13 @@ class Element : public QetGraphicsItem {
|
||||
virtual void linkToElement(Element *) {}
|
||||
virtual void unlinkAllElements() {}
|
||||
virtual void unlinkElement(Element *) {}
|
||||
|
||||
#if QT_VERSION >= 0x040800
|
||||
virtual void initLink(QETProject *);
|
||||
#else
|
||||
void initLink(QETProject *);
|
||||
#endif
|
||||
|
||||
QList<Element *> linkedElements ();
|
||||
virtual int linkType() const {return link_type_;} // @return the linkable type
|
||||
void newUuid() {uuid_ = QUuid::createUuid();} //create new uuid for this element
|
||||
|
@ -458,7 +458,11 @@ void QETProject::setDefaultXRefProperties(const QString type, const XRefProperti
|
||||
}
|
||||
|
||||
void QETProject::setDefaultXRefProperties(QHash<QString, XRefProperties> hash) {
|
||||
#if QT_VERSION >= 0x040800
|
||||
m_default_xref_properties.swap(hash);
|
||||
#else
|
||||
m_default_xref_properties = hash;
|
||||
#endif
|
||||
emit XRefPropertiesChanged();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user