mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49: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:
@@ -39,10 +39,10 @@ class QPropertyUndoCommand : public QUndoCommand
|
||||
void setNewValue(const QVariant &new_value);
|
||||
void enableAnimation (bool animate = true);
|
||||
|
||||
int id() const{return 10000;}
|
||||
virtual bool mergeWith(const QUndoCommand *other);
|
||||
void redo();
|
||||
void undo();
|
||||
int id() const override{return 10000;}
|
||||
bool mergeWith(const QUndoCommand *other) override;
|
||||
void redo() override;
|
||||
void undo() override;
|
||||
|
||||
private:
|
||||
QObject *m_object;
|
||||
|
||||
Reference in New Issue
Block a user