diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-07-24 10:18:53 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-07-26 07:44:27 +0000 |
commit | dc43b891728600b17f4a4f115711b5930a558cee (patch) | |
tree | 251e6ed1ca5e60a3e85125c7edc526abc2fadadb /src | |
parent | 3841d2fce27c9c7410c146a6be6693f5b7a8c4d3 (diff) |
Replace include guards with #pragma once
Change-Id: Icce9d191cc6cae89baf973e949dc0757d318d6ea
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src')
6 files changed, 6 insertions, 28 deletions
diff --git a/src/libs/3rdparty/cplusplus/ObjectiveCTypeQualifiers.h b/src/libs/3rdparty/cplusplus/ObjectiveCTypeQualifiers.h index ac46bd6070..9f6b7bf0ca 100644 --- a/src/libs/3rdparty/cplusplus/ObjectiveCTypeQualifiers.h +++ b/src/libs/3rdparty/cplusplus/ObjectiveCTypeQualifiers.h @@ -1,9 +1,7 @@ -#ifndef CPLUSPLUS_OBJC_TYPEQUALIFIERS_H -#define CPLUSPLUS_OBJC_TYPEQUALIFIERS_H +#pragma once #include "CPlusPlusForwardDeclarations.h" - namespace CPlusPlus { enum { @@ -27,6 +25,3 @@ enum { CPLUSPLUS_EXPORT int classifyObjectiveCContextKeyword(const char *s, int n); } // namespace CPlusPlus - - -#endif // CPLUSPLUS_OBJC_TYPEQUALIFIERS_H diff --git a/src/libs/3rdparty/cplusplus/SafeMatcher.h b/src/libs/3rdparty/cplusplus/SafeMatcher.h index 98219eeffd..98fbbae2aa 100644 --- a/src/libs/3rdparty/cplusplus/SafeMatcher.h +++ b/src/libs/3rdparty/cplusplus/SafeMatcher.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CPLUSPLUS_SAFETYPEMATCHER_H -#define CPLUSPLUS_SAFETYPEMATCHER_H +#pragma once #include "Matcher.h" @@ -56,5 +55,3 @@ private: }; } // CPlusPlus namespace - -#endif // CPLUSPLUS_SAFETYPEMATCHER_H diff --git a/src/plugins/qmldesigner/components/integration/designdocument.h b/src/plugins/qmldesigner/components/integration/designdocument.h index ad110bfca4..e4048dae26 100644 --- a/src/plugins/qmldesigner/components/integration/designdocument.h +++ b/src/plugins/qmldesigner/components/integration/designdocument.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef DesignDocument_h -#define DesignDocument_h +#pragma once #include <model.h> #include <rewriterview.h> @@ -155,6 +154,3 @@ private: // variables }; } // namespace QmlDesigner - - -#endif // DesignDocument_h diff --git a/src/plugins/qmldesigner/components/integration/stackedutilitypanelcontroller.h b/src/plugins/qmldesigner/components/integration/stackedutilitypanelcontroller.h index f49d98e1f2..f446297a66 100644 --- a/src/plugins/qmldesigner/components/integration/stackedutilitypanelcontroller.h +++ b/src/plugins/qmldesigner/components/integration/stackedutilitypanelcontroller.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef StackedUtilityPanelController_h -#define StackedUtilityPanelController_h +#pragma once #include "utilitypanelcontroller.h" @@ -55,5 +54,3 @@ private: }; } // namespace QmlDesigner - -#endif // StackedUtilityPanelController_h diff --git a/src/plugins/qmldesigner/components/integration/utilitypanelcontroller.h b/src/plugins/qmldesigner/components/integration/utilitypanelcontroller.h index 6a2c33cfdf..8718a83a04 100644 --- a/src/plugins/qmldesigner/components/integration/utilitypanelcontroller.h +++ b/src/plugins/qmldesigner/components/integration/utilitypanelcontroller.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef UtilityPanelController_h -#define UtilityPanelController_h +#pragma once #include <QObject> @@ -47,5 +46,3 @@ protected: }; } // namespace QmlDesigner - -#endif // UtilityPanelController_h diff --git a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h index e73c55629f..643df70c45 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h +++ b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QmlAnchorBindingProxy_h -#define QmlAnchorBindingProxy_h +#pragma once #include <QObject> #include <modelnode.h> @@ -248,6 +247,3 @@ private: } // namespace Internal } // namespace QmlDesigner - - -#endif //QmlAnchorBindingProxy |