diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-31 11:44:54 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-31 20:31:31 +0000 |
commit | 1c95d379f2d4f53ca8e4d33b27d37b7dab6d7596 (patch) | |
tree | bd593bad43cdda9987bfeadf557d01366b4e98d6 /src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | |
parent | b0fd9623651ca32187e4f79ad299ef43ce8347a0 (diff) |
Qt Designer: Fix clang-tidy warnings about class definitions
- Use ' = default' for trivial constructors/destructors
- replace virtual by override or add override where applicable
- Return *this from assignment operators of custom iterators
- Replace trivial constructors by member initialization for simple structs
- Add Q_DISABLE_COPY
Change-Id: I67fb07cb82ccba93a41d58a8a0782628c9c681d9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/components/signalsloteditor/signalsloteditor_tool.h')
-rw-r--r-- | src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h index 264143bde..c0ba92316 100644 --- a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h +++ b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h @@ -50,7 +50,7 @@ class QT_SIGNALSLOTEDITOR_EXPORT SignalSlotEditorTool: public QDesignerFormWindo Q_OBJECT public: explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0); - virtual ~SignalSlotEditorTool(); + ~SignalSlotEditorTool() override; QDesignerFormEditorInterface *core() const override; QDesignerFormWindowInterface *formWindow() const override; |