Skip to content
Snippets Groups Projects
Commit b57372f2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Replace include guards with #pragma once


Change-Id: Ic36cf0e9cac61d4d9a7e4434192944f5301b8aaa
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarEike Ziller <eike.ziller@qt.io>
parent ece8b17a
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef OUTPUT_COLLECTOR_H #pragma once
#define OUTPUT_COLLECTOR_H
#include <QObject> #include <QObject>
...@@ -74,5 +73,3 @@ private: ...@@ -74,5 +73,3 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // OUTPUT_COLLECTOR_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef AUTHENTICATIONDIALOG_H #pragma once
#define AUTHENTICATIONDIALOG_H
#include <QCoreApplication> #include <QCoreApplication>
#include <QDialog> #include <QDialog>
...@@ -63,5 +62,3 @@ private: ...@@ -63,5 +62,3 @@ private:
} // Internal } // Internal
} // Gerrit } // Gerrit
#endif // AUTHENTICATIONDIALOG_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef EXPORTDIALOG_H #pragma once
#define EXPORTDIALOG_H
#include <QDialog> #include <QDialog>
...@@ -66,5 +65,3 @@ private: ...@@ -66,5 +65,3 @@ private:
} // namespace Internal } // namespace Internal
} // namespace ImageViewer } // namespace ImageViewer
#endif // EXPORTDIALOG_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef QBSBUILDINFO_H #pragma once
#define QBSBUILDINFO_H
#include <projectexplorer/buildinfo.h> #include <projectexplorer/buildinfo.h>
...@@ -47,5 +46,3 @@ private: ...@@ -47,5 +46,3 @@ private:
} // namespace Internal } // namespace Internal
} // namespace QbsProjectManager } // namespace QbsProjectManager
#endif // QBSBUILDINFO_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef QBSPMLOGGING_P_H #pragma once
#define QBSPMLOGGING_P_H
#include <QLoggingCategory> #include <QLoggingCategory>
...@@ -33,5 +32,3 @@ namespace Internal { ...@@ -33,5 +32,3 @@ namespace Internal {
Q_DECLARE_LOGGING_CATEGORY(qbsPmLog) Q_DECLARE_LOGGING_CATEGORY(qbsPmLog)
} }
} }
#endif // Include guard
...@@ -37,8 +37,7 @@ ...@@ -37,8 +37,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef JSONVALUE_H #pragma once
#define JSONVALUE_H
#include <cstdint> #include <cstdint>
#include <initializer_list> #include <initializer_list>
...@@ -585,5 +584,3 @@ private: ...@@ -585,5 +584,3 @@ private:
}; };
} // namespace Json } // namespace Json
#endif // JSONVALUE_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef TESTCORE_H #pragma once
#define TESTCORE_H
#include <QObject> #include <QObject>
...@@ -231,5 +230,3 @@ private slots: ...@@ -231,5 +230,3 @@ private slots:
void loadGradient(); void loadGradient();
void changeGradientId(); void changeGradientId();
}; };
#endif // TESTCORE_H
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef SIMPLE_DEBUGGER_TEST_H #pragma once
#define SIMPLE_DEBUGGER_TEST_H
namespace breakpoints { namespace breakpoints {
...@@ -149,5 +148,3 @@ namespace breakpoints { ...@@ -149,5 +148,3 @@ namespace breakpoints {
} }
} // namespace breakpoints } // namespace breakpoints
#endif // SIMPLE_DEBUGGER_TEST_H
...@@ -24,8 +24,7 @@ ...@@ -24,8 +24,7 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef MYBACKENDOBJECT_H #pragma once
#define MYBACKENDOBJECT_H
#include <QObject> #include <QObject>
...@@ -43,5 +42,3 @@ public: ...@@ -43,5 +42,3 @@ public:
public slots: public slots:
}; };
#endif // MYBACKENDOBJECT_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment