diff options
Diffstat (limited to 'tests/auto/gui/util/qundogroup/tst_qundogroup.cpp')
-rw-r--r-- | tests/auto/gui/util/qundogroup/tst_qundogroup.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp b/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp index 617e0239e1..5f82bd8442 100644 --- a/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp +++ b/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp @@ -40,8 +40,8 @@ public: InsertCommand(QString *str, int idx, const QString &text, QUndoCommand *parent = 0); - virtual void undo(); - virtual void redo(); + virtual void undo() override; + virtual void redo() override; private: QString *m_str; @@ -54,8 +54,8 @@ class RemoveCommand : public QUndoCommand public: RemoveCommand(QString *str, int idx, int len, QUndoCommand *parent = 0); - virtual void undo(); - virtual void redo(); + virtual void undo() override; + virtual void redo() override; private: QString *m_str; @@ -68,10 +68,10 @@ class AppendCommand : public QUndoCommand public: AppendCommand(QString *str, const QString &text, QUndoCommand *parent = 0); - virtual void undo(); - virtual void redo(); - virtual int id() const; - virtual bool mergeWith(const QUndoCommand *other); + virtual void undo() override; + virtual void redo() override; + virtual int id() const override; + virtual bool mergeWith(const QUndoCommand *other) override; bool merged; |