mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-28 00:10:01 +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:
@@ -34,7 +34,7 @@ class CommentItem : public QGraphicsObject
|
||||
public:
|
||||
explicit CommentItem(Element *elmt);
|
||||
|
||||
virtual QRectF boundingRect() const;
|
||||
QRectF boundingRect() const override;
|
||||
|
||||
signals:
|
||||
|
||||
@@ -43,8 +43,8 @@ class CommentItem : public QGraphicsObject
|
||||
void updateLabel();
|
||||
|
||||
protected:
|
||||
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent * event );
|
||||
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
||||
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent * event ) override;
|
||||
virtual bool setTextParent ();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user