mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -37,12 +37,12 @@ class GhostElement : public CustomElement {
|
||||
// constructor, destructor
|
||||
public:
|
||||
GhostElement(const ElementsLocation &, QGraphicsItem * = nullptr);
|
||||
virtual ~GhostElement();
|
||||
~GhostElement() override;
|
||||
|
||||
// methods
|
||||
public:
|
||||
virtual bool fromXml(QDomElement &, QHash<int, Terminal *> &, bool = false);
|
||||
virtual kind linkType() const {return Simple;}
|
||||
bool fromXml(QDomElement &, QHash<int, Terminal *> &, bool = false) override;
|
||||
kind linkType() const override {return Simple;}
|
||||
|
||||
protected:
|
||||
QRectF minimalBoundingRect() const;
|
||||
|
||||
Reference in New Issue
Block a user