diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 07:55:01 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-30 15:20:19 +0000 |
commit | 39a38d5679084b515276285c044d8a27e671adb1 (patch) | |
tree | 8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/plugins/coreplugin/progressmanager | |
parent | 6b805c217273b9d169aa7e8a78949e17179016bf (diff) | |
download | qt-creator-39a38d5679084b515276285c044d8a27e671adb1.tar.gz |
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce
Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/progressmanager')
5 files changed, 5 insertions, 20 deletions
diff --git a/src/plugins/coreplugin/progressmanager/futureprogress.h b/src/plugins/coreplugin/progressmanager/futureprogress.h index 6647103009..e079b7e9e4 100644 --- a/src/plugins/coreplugin/progressmanager/futureprogress.h +++ b/src/plugins/coreplugin/progressmanager/futureprogress.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef FUTUREPROGRESS_H -#define FUTUREPROGRESS_H +#pragma once #include <coreplugin/core_global.h> @@ -102,5 +101,3 @@ private: }; } // namespace Core - -#endif // FUTUREPROGRESS_H diff --git a/src/plugins/coreplugin/progressmanager/progressbar.h b/src/plugins/coreplugin/progressmanager/progressbar.h index d2b9abc357..e2334447a2 100644 --- a/src/plugins/coreplugin/progressmanager/progressbar.h +++ b/src/plugins/coreplugin/progressmanager/progressbar.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PROGRESSBAR_H -#define PROGRESSBAR_H +#pragma once #include <QString> #include <QWidget> @@ -93,5 +92,3 @@ private: } // namespace Internal } // namespace Core - -#endif // PROGRESSBAR_H diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.h b/src/plugins/coreplugin/progressmanager/progressmanager.h index 6653a70b1f..4d006a45a7 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.h +++ b/src/plugins/coreplugin/progressmanager/progressmanager.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PROGRESSMANAGER_H -#define PROGRESSMANAGER_H +#pragma once #include <coreplugin/core_global.h> #include <coreplugin/id.h> @@ -90,5 +89,3 @@ private: } // namespace Core Q_DECLARE_OPERATORS_FOR_FLAGS(Core::ProgressManager::ProgressFlags) - -#endif //PROGRESSMANAGER_H diff --git a/src/plugins/coreplugin/progressmanager/progressmanager_p.h b/src/plugins/coreplugin/progressmanager/progressmanager_p.h index 2217f78186..47e5c4334a 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager_p.h +++ b/src/plugins/coreplugin/progressmanager/progressmanager_p.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PROGRESSMANAGER_P_H -#define PROGRESSMANAGER_P_H +#pragma once #include "progressmanager.h" @@ -122,5 +121,3 @@ public: } // namespace Internal } // namespace Core - -#endif // PROGRESSMANAGER_P_H diff --git a/src/plugins/coreplugin/progressmanager/progressview.h b/src/plugins/coreplugin/progressmanager/progressview.h index c8d312fb28..93a030793a 100644 --- a/src/plugins/coreplugin/progressmanager/progressview.h +++ b/src/plugins/coreplugin/progressmanager/progressview.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PROGRESSVIEW_H -#define PROGRESSVIEW_H +#pragma once #include "progressmanager.h" @@ -71,5 +70,3 @@ private: } // namespace Internal } // namespace Core - -#endif // PROGRESSVIEW_H |