mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-24 05:49:59 +01:00
element class: replace enum linkertype by #define (better way for use flags)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2675 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -43,7 +43,7 @@ class GhostElement : public CustomElement {
|
||||
// methods
|
||||
public:
|
||||
virtual bool fromXml(QDomElement &, QHash<int, Terminal *> &, bool = false);
|
||||
virtual int linkType() const {return Element::simple;}
|
||||
virtual int linkType() const {return SIMPLE;}
|
||||
|
||||
protected:
|
||||
QRectF minimalBoundingRect() const;
|
||||
|
||||
Reference in New Issue
Block a user