mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-30 10:00:00 +02: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:
@@ -30,7 +30,7 @@ class IndependentTextItem : public DiagramTextItem {
|
||||
public:
|
||||
IndependentTextItem();
|
||||
IndependentTextItem(const QString &);
|
||||
virtual ~IndependentTextItem();
|
||||
~IndependentTextItem() override;
|
||||
|
||||
// attributes
|
||||
public:
|
||||
@@ -43,9 +43,9 @@ class IndependentTextItem : public DiagramTextItem {
|
||||
IndependentTextItem.
|
||||
@return le type de QGraphicsItem
|
||||
*/
|
||||
virtual int type() const { return Type; }
|
||||
virtual void fromXml(const QDomElement &);
|
||||
virtual QDomElement toXml(QDomDocument &) const;
|
||||
int type() const override { return Type; }
|
||||
void fromXml(const QDomElement &) override;
|
||||
QDomElement toXml(QDomDocument &) const override;
|
||||
|
||||
private:
|
||||
QPointF mouse_to_origin_movement_;
|
||||
|
||||
Reference in New Issue
Block a user