diff options
-rw-r--r-- | src/plugins/debugger/outputcollector.h | 5 | ||||
-rw-r--r-- | src/plugins/git/gerrit/authenticationdialog.h | 5 | ||||
-rw-r--r-- | src/plugins/imageviewer/exportdialog.h | 5 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsbuildinfo.h | 5 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbspmlogging.h | 5 | ||||
-rw-r--r-- | src/shared/json/json.h | 5 | ||||
-rw-r--r-- | tests/auto/qml/qmldesigner/coretests/tst_testcore.h | 5 | ||||
-rw-r--r-- | tests/manual/debugger/simple/deep/deep/simple_test_app.h | 5 | ||||
-rw-r--r-- | tests/manual/qml/testprojects/cppmockup/mybackendobject.h | 5 |
9 files changed, 9 insertions, 36 deletions
diff --git a/src/plugins/debugger/outputcollector.h b/src/plugins/debugger/outputcollector.h index d6d44367a0..fbdb9f9ea1 100644 --- a/src/plugins/debugger/outputcollector.h +++ b/src/plugins/debugger/outputcollector.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef OUTPUT_COLLECTOR_H -#define OUTPUT_COLLECTOR_H +#pragma once #include <QObject> @@ -74,5 +73,3 @@ private: } // namespace Internal } // namespace Debugger - -#endif // OUTPUT_COLLECTOR_H diff --git a/src/plugins/git/gerrit/authenticationdialog.h b/src/plugins/git/gerrit/authenticationdialog.h index 9b5c8324cb..055c553b48 100644 --- a/src/plugins/git/gerrit/authenticationdialog.h +++ b/src/plugins/git/gerrit/authenticationdialog.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef AUTHENTICATIONDIALOG_H -#define AUTHENTICATIONDIALOG_H +#pragma once #include <QCoreApplication> #include <QDialog> @@ -63,5 +62,3 @@ private: } // Internal } // Gerrit - -#endif // AUTHENTICATIONDIALOG_H diff --git a/src/plugins/imageviewer/exportdialog.h b/src/plugins/imageviewer/exportdialog.h index 246ad211ab..76296e8ba4 100644 --- a/src/plugins/imageviewer/exportdialog.h +++ b/src/plugins/imageviewer/exportdialog.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef EXPORTDIALOG_H -#define EXPORTDIALOG_H +#pragma once #include <QDialog> @@ -66,5 +65,3 @@ private: } // namespace Internal } // namespace ImageViewer - -#endif // EXPORTDIALOG_H diff --git a/src/plugins/qbsprojectmanager/qbsbuildinfo.h b/src/plugins/qbsprojectmanager/qbsbuildinfo.h index ea92b65055..05dfd18250 100644 --- a/src/plugins/qbsprojectmanager/qbsbuildinfo.h +++ b/src/plugins/qbsprojectmanager/qbsbuildinfo.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QBSBUILDINFO_H -#define QBSBUILDINFO_H +#pragma once #include <projectexplorer/buildinfo.h> @@ -47,5 +46,3 @@ private: } // namespace Internal } // namespace QbsProjectManager - -#endif // QBSBUILDINFO_H diff --git a/src/plugins/qbsprojectmanager/qbspmlogging.h b/src/plugins/qbsprojectmanager/qbspmlogging.h index 471fa86cf3..34328fa57a 100644 --- a/src/plugins/qbsprojectmanager/qbspmlogging.h +++ b/src/plugins/qbsprojectmanager/qbspmlogging.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QBSPMLOGGING_P_H -#define QBSPMLOGGING_P_H +#pragma once #include <QLoggingCategory> @@ -33,5 +32,3 @@ namespace Internal { Q_DECLARE_LOGGING_CATEGORY(qbsPmLog) } } - -#endif // Include guard diff --git a/src/shared/json/json.h b/src/shared/json/json.h index 3b8477f25e..69d52e0430 100644 --- a/src/shared/json/json.h +++ b/src/shared/json/json.h @@ -37,8 +37,7 @@ ** ****************************************************************************/ -#ifndef JSONVALUE_H -#define JSONVALUE_H +#pragma once #include <cstdint> #include <initializer_list> @@ -585,5 +584,3 @@ private: }; } // namespace Json - -#endif // JSONVALUE_H diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.h b/tests/auto/qml/qmldesigner/coretests/tst_testcore.h index b3d47fbb72..a3ce437947 100644 --- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.h +++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef TESTCORE_H -#define TESTCORE_H +#pragma once #include <QObject> @@ -231,5 +230,3 @@ private slots: void loadGradient(); void changeGradientId(); }; - -#endif // TESTCORE_H diff --git a/tests/manual/debugger/simple/deep/deep/simple_test_app.h b/tests/manual/debugger/simple/deep/deep/simple_test_app.h index 820d39b4c8..1f8e47d5ba 100644 --- a/tests/manual/debugger/simple/deep/deep/simple_test_app.h +++ b/tests/manual/debugger/simple/deep/deep/simple_test_app.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef SIMPLE_DEBUGGER_TEST_H -#define SIMPLE_DEBUGGER_TEST_H +#pragma once namespace breakpoints { @@ -149,5 +148,3 @@ namespace breakpoints { } } // namespace breakpoints - -#endif // SIMPLE_DEBUGGER_TEST_H diff --git a/tests/manual/qml/testprojects/cppmockup/mybackendobject.h b/tests/manual/qml/testprojects/cppmockup/mybackendobject.h index e637ac12a6..f6e5368caa 100644 --- a/tests/manual/qml/testprojects/cppmockup/mybackendobject.h +++ b/tests/manual/qml/testprojects/cppmockup/mybackendobject.h @@ -24,8 +24,7 @@ ** ****************************************************************************/ -#ifndef MYBACKENDOBJECT_H -#define MYBACKENDOBJECT_H +#pragma once #include <QObject> @@ -43,5 +42,3 @@ public: public slots: }; - -#endif // MYBACKENDOBJECT_H |