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:
blacksun
2013-12-29 13:27:46 +00:00
parent 0d37b13dab
commit 5eecfedd02
8 changed files with 26 additions and 24 deletions

View File

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