From 39a38d5679084b515276285c044d8a27e671adb1 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 18 Mar 2016 07:55:01 +0100 Subject: Wholesale conversion to #pragma once Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger --- src/plugins/coreplugin/progressmanager/futureprogress.h | 5 +---- src/plugins/coreplugin/progressmanager/progressbar.h | 5 +---- src/plugins/coreplugin/progressmanager/progressmanager.h | 5 +---- src/plugins/coreplugin/progressmanager/progressmanager_p.h | 5 +---- src/plugins/coreplugin/progressmanager/progressview.h | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) (limited to 'src/plugins/coreplugin/progressmanager') 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 @@ -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 #include @@ -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 #include @@ -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 -- cgit v1.2.1