mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-23 13:09: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:
@@ -32,10 +32,10 @@ class ChangeElementInformationCommand : public QUndoCommand
|
||||
public:
|
||||
ChangeElementInformationCommand(Element *elmt, DiagramContext &old_info, DiagramContext &new_info, QUndoCommand *parent = nullptr);
|
||||
|
||||
virtual int id() const {return 1;}
|
||||
virtual bool mergeWith(const QUndoCommand *other);
|
||||
virtual void undo();
|
||||
virtual void redo();
|
||||
int id() const override {return 1;}
|
||||
bool mergeWith(const QUndoCommand *other) override;
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
private:
|
||||
Element *m_element;
|
||||
|
||||
Reference in New Issue
Block a user