diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-02-02 18:26:51 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-02-03 08:29:08 +0000 |
commit | f4296d7504e87d291232bc13caa99a439d2393ab (patch) | |
tree | 66892ae3ded5333a7036401031effaf228921d3a /src/plugins/projectexplorer/kitmanagerconfigwidget.h | |
parent | 6a3e687d140cad3dec006b2d5fa8982d4b10f31c (diff) |
ProjectExplorer: Modernize
* Use override where appropriate
* Use pragma once
* Make more constructors explicit
Change-Id: I2865fe10f288e3de570826058e43b70a0cb4ee37
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer/kitmanagerconfigwidget.h')
-rw-r--r-- | src/plugins/projectexplorer/kitmanagerconfigwidget.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/kitmanagerconfigwidget.h b/src/plugins/projectexplorer/kitmanagerconfigwidget.h index 9f2a1b9347..86ae1d1a0b 100644 --- a/src/plugins/projectexplorer/kitmanagerconfigwidget.h +++ b/src/plugins/projectexplorer/kitmanagerconfigwidget.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef KITMANAGERCONFIGWIDGET_H -#define KITMANAGERCONFIGWIDGET_H +#pragma once #include "kitconfigwidget.h" @@ -48,7 +47,7 @@ class KitManagerConfigWidget : public QWidget public: explicit KitManagerConfigWidget(Kit *k); - ~KitManagerConfigWidget(); + ~KitManagerConfigWidget() override; QString displayName() const; @@ -87,7 +86,7 @@ private: ButtonColumn }; - void showEvent(QShowEvent *event); + void showEvent(QShowEvent *event) override; QLabel *createLabel(const QString &name, const QString &toolTip); QGridLayout *m_layout; @@ -107,5 +106,3 @@ private: } // namespace Internal } // namespace ProjectExplorer - -#endif // KITMANAGERCONFIGWIDGET_H |