ProjectExplorer: Modernize

* Use override where appropriate
* Use pragma once
* Make more constructors explicit

Change-Id: I2865fe10f288e3de570826058e43b70a0cb4ee37
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-02 18:26:51 +01:00
parent 6a3e687d14
commit f4296d7504
180 changed files with 698 additions and 1254 deletions

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef TOOLCHAINCONFIGWIDGET_H
#define TOOLCHAINCONFIGWIDGET_H
#pragma once
#include "projectexplorer_export.h"
@@ -50,7 +49,7 @@ class PROJECTEXPLORER_EXPORT ToolChainConfigWidget : public QScrollArea
Q_OBJECT
public:
ToolChainConfigWidget(ToolChain *);
explicit ToolChainConfigWidget(ToolChain *tc);
ToolChain *toolChain() const;
@@ -81,5 +80,3 @@ private:
};
} // namespace ProjectExplorer
#endif // TOOLCHAINCONFIGWIDGET_H