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/targetsetuppage.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/targetsetuppage.h')
-rw-r--r-- | src/plugins/projectexplorer/targetsetuppage.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/targetsetuppage.h b/src/plugins/projectexplorer/targetsetuppage.h index 5e7fd24a25..c2d5b1d73b 100644 --- a/src/plugins/projectexplorer/targetsetuppage.h +++ b/src/plugins/projectexplorer/targetsetuppage.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef TARGETSETUPPAGE_H -#define TARGETSETUPPAGE_H +#pragma once #include "projectexplorer_export.h" @@ -59,11 +58,11 @@ class PROJECTEXPLORER_EXPORT TargetSetupPage : public Utils::WizardPage public: explicit TargetSetupPage(QWidget *parent = 0); - ~TargetSetupPage(); + ~TargetSetupPage() override; /// Initializes the TargetSetupPage /// \note The import information is gathered in initializePage(), make sure that the right projectPath is set before - void initializePage(); + void initializePage() override; // Call these before initializePage! void setRequiredKitMatcher(const KitMatcher &matcher); @@ -74,7 +73,7 @@ public: /// call this before \sa initializePage() void setUseScrollArea(bool b); - bool isComplete() const; + bool isComplete() const override; bool setupProject(Project *project); bool isKitSelected(Core::Id id) const; void setKitSelected(Core::Id id, bool selected); @@ -127,5 +126,3 @@ private: }; } // namespace ProjectExplorer - -#endif // TARGETSETUPPAGE_H |