diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-04-10 10:20:09 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-05-13 18:08:27 +0000 |
commit | 5dbd90b220c946f439a5806006a2665c2860bf31 (patch) | |
tree | e8a932f4cd25528bd55a1d4b7968c9e86bf3769b /src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | |
parent | 121c7721972064105d8f1c1ac7ca001b6bff4491 (diff) |
Qt Designer: Introduce Q_DECL_OVERRIDE.
Replacement done by a script and verified with clang 3.5 to not cause
new warnings.
Change-Id: Ibaa1efe91cd65a6b54591a629b7335aebc0803bf
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/designer/src/components/signalsloteditor/signalsloteditor_tool.h')
-rw-r--r-- | src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h index 2f466925e..edbc074ed 100644 --- a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h +++ b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h @@ -57,20 +57,20 @@ public: explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0); virtual ~SignalSlotEditorTool(); - virtual QDesignerFormEditorInterface *core() const; - virtual QDesignerFormWindowInterface *formWindow() const; + QDesignerFormEditorInterface *core() const Q_DECL_OVERRIDE; + QDesignerFormWindowInterface *formWindow() const Q_DECL_OVERRIDE; - virtual QWidget *editor() const; + QWidget *editor() const Q_DECL_OVERRIDE; QAction *action() const; virtual void activated(); virtual void deactivated(); - virtual bool handleEvent(QWidget *widget, QWidget *managedWidget, QEvent *event); + bool handleEvent(QWidget *widget, QWidget *managedWidget, QEvent *event) Q_DECL_OVERRIDE; - virtual void saveToDom(DomUI *ui, QWidget *mainContainer); - virtual void loadFromDom(DomUI *ui, QWidget *mainContainer); + void saveToDom(DomUI *ui, QWidget *mainContainer) Q_DECL_OVERRIDE; + void loadFromDom(DomUI *ui, QWidget *mainContainer) Q_DECL_OVERRIDE; private: QDesignerFormWindowInterface *m_formWindow; |