mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +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:
@@ -34,7 +34,7 @@ class RectangleEditor : public ElementItemEditor
|
||||
// constructors, destructor
|
||||
public:
|
||||
RectangleEditor(QETElementEditor *, PartRectangle * = nullptr, QWidget * = nullptr);
|
||||
virtual ~RectangleEditor();
|
||||
~RectangleEditor() override;
|
||||
private:
|
||||
RectangleEditor(const RectangleEditor &);
|
||||
|
||||
@@ -47,12 +47,12 @@ class RectangleEditor : public ElementItemEditor
|
||||
|
||||
// methods
|
||||
public:
|
||||
virtual bool setPart(CustomElementPart *);
|
||||
virtual CustomElementPart *currentPart() const;
|
||||
bool setPart(CustomElementPart *) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
QPointF editedTopLeft () const;
|
||||
|
||||
public slots:
|
||||
void updateForm();
|
||||
void updateForm() override;
|
||||
void editingFinished();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user