mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-09 23:39: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:
@@ -34,7 +34,7 @@ class LineEditor : public ElementItemEditor
|
||||
// constructors, destructor
|
||||
public:
|
||||
LineEditor(QETElementEditor *, PartLine * = nullptr, QWidget * = nullptr);
|
||||
virtual ~LineEditor();
|
||||
~LineEditor() override;
|
||||
private:
|
||||
LineEditor(const LineEditor &);
|
||||
|
||||
@@ -49,8 +49,8 @@ class LineEditor : public ElementItemEditor
|
||||
|
||||
// methods
|
||||
public:
|
||||
virtual bool setPart(CustomElementPart *);
|
||||
virtual CustomElementPart *currentPart() const;
|
||||
bool setPart(CustomElementPart *) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
QPointF editedP1() const;
|
||||
QPointF editedP2() const;
|
||||
|
||||
@@ -60,7 +60,7 @@ class LineEditor : public ElementItemEditor
|
||||
void updateLineEndType2();
|
||||
void updateLineEndLength2();
|
||||
void lineEditingFinished();
|
||||
void updateForm();
|
||||
void updateForm() override;
|
||||
|
||||
private:
|
||||
void activeConnections(bool);
|
||||
|
||||
Reference in New Issue
Block a user