From f4296d7504e87d291232bc13caa99a439d2393ab Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 2 Feb 2016 18:26:51 +0100 Subject: ProjectExplorer: Modernize * Use override where appropriate * Use pragma once * Make more constructors explicit Change-Id: I2865fe10f288e3de570826058e43b70a0cb4ee37 Reviewed-by: Orgad Shaneh --- src/plugins/projectexplorer/xcodebuildparser.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/plugins/projectexplorer/xcodebuildparser.h') diff --git a/src/plugins/projectexplorer/xcodebuildparser.h b/src/plugins/projectexplorer/xcodebuildparser.h index 02c78514fb..2557c70342 100644 --- a/src/plugins/projectexplorer/xcodebuildparser.h +++ b/src/plugins/projectexplorer/xcodebuildparser.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef IOSXCODEPARSER_H -#define IOSXCODEPARSER_H +#pragma once #include "projectexplorer_export.h" #include "ioutputparser.h" @@ -47,9 +46,10 @@ public: XcodebuildParser(); - void stdOutput(const QString &line); - void stdError(const QString &line); - bool hasFatalErrors() const; + void stdOutput(const QString &line) override; + void stdError(const QString &line) override; + bool hasFatalErrors() const override; + private: int m_fatalErrorCount; QRegExp m_failureRe; @@ -59,6 +59,7 @@ private: XcodebuildStatus m_xcodeBuildParserState; QString m_lastTarget; QString m_lastProject; + #if defined WITH_TESTS friend class XcodebuildParserTester; friend class ProjectExplorerPlugin; @@ -81,5 +82,3 @@ public slots: #endif } // namespace ProjectExplorer - -#endif // IOSXCODEPARSER_H -- cgit v1.2.3