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/xcodebuildparser.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/xcodebuildparser.h')
-rw-r--r-- | src/plugins/projectexplorer/xcodebuildparser.h | 13 |
1 files changed, 6 insertions, 7 deletions
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 |