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>
This commit is contained in:
hjk
2016-03-18 07:55:01 +01:00
parent 6b805c2172
commit 39a38d5679
2252 changed files with 2240 additions and 9056 deletions

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef FILEFILTERITEMS_H
#define FILEFILTERITEMS_H
#pragma once
#include "qmlprojectitem.h"
@@ -172,5 +171,3 @@ public:
};
} // namespace QmlProjectManager
#endif // FILEFILTERITEMS_HPROJECTITEM_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTFILEFORMAT_H
#define QMLPROJECTFILEFORMAT_H
#pragma once
#include <utils/fileutils.h>
@@ -44,5 +43,3 @@ public:
};
} // namespace QmlProjectManager
#endif // QMLPROJECTFILEFORMAT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTITEM_H
#define QMLPROJECTITEM_H
#pragma once
#include <QObject>
#include <QSet>
@@ -80,5 +79,3 @@ protected:
};
} // namespace QmlProjectManager
#endif // QMLPROJECTITEM_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECT_H
#define QMLPROJECT_H
#pragma once
#include "qmlprojectmanager_global.h"
@@ -116,5 +115,3 @@ private:
} // namespace QmlProjectManager
Q_DECLARE_OPERATORS_FOR_FLAGS(QmlProjectManager::QmlProject::RefreshOptions)
#endif // QMLPROJECT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTCONSTANTS_H
#define QMLPROJECTCONSTANTS_H
#pragma once
#include <qmljstools/qmljstoolsconstants.h>
@@ -36,5 +35,3 @@ const char * const QMLPROJECT_MIMETYPE = QmlJSTools::Constants::QMLPROJECT_MIMET
} // namespace Constants
} // namespace QmlProjectManager
#endif // QMLPROJECTCONSTANTS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTENVIRONMENTASPECT_H
#define QMLPROJECTENVIRONMENTASPECT_H
#pragma once
#include <projectexplorer/environmentaspect.h>
@@ -50,5 +49,3 @@ private:
};
} // namespace QmlProjectManager
#endif // QMLPROJECTENVIRONMENTASPECT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTFILE_H
#define QMLPROJECTFILE_H
#pragma once
#include <coreplugin/idocument.h>
@@ -48,5 +47,3 @@ private:
} // namespace Internal
} // namespace QmlProjectManager
#endif // QMLPROJECTFILE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTMANAGER_H
#define QMLPROJECTMANAGER_H
#pragma once
#include <projectexplorer/iprojectmanager.h>
#include <coreplugin/icontext.h>
@@ -56,5 +55,3 @@ private:
} // namespace Internal
} // namespace QmlProjectManager
#endif // QMLPROJECTMANAGER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTMANAGER_GLOBAL_H
#define QMLPROJECTMANAGER_GLOBAL_H
#pragma once
#include <qglobal.h>
@@ -33,5 +32,3 @@
#else
# define QMLPROJECTMANAGER_EXPORT Q_DECL_IMPORT
#endif
#endif // QMLPROJECTMANAGER_GLOBAL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTMANAGERCONSTANTS_H
#define QMLPROJECTMANAGERCONSTANTS_H
#pragma once
#include <qglobal.h>
@@ -40,5 +39,3 @@ const char USER_ENVIRONMENT_CHANGES_KEY[] = "QmlProjectManager.QmlRunConfigurati
} // namespace Constants
} // namespace QmlProjectManager
#endif // QMLPROJECTMANAGERCONSTANTS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTNODES_H
#define QMLPROJECTNODES_H
#pragma once
#include <projectexplorer/projectnodes.h>
@@ -66,5 +65,3 @@ private:
} // namespace Internal
} // namespace QmlProjectManager
#endif // QMLPROJECTNODES_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTPLUGIN_H
#define QMLPROJECTPLUGIN_H
#pragma once
#include "qmlprojectmanager_global.h"
@@ -46,5 +45,3 @@ public:
};
} // namespace QmlProject
#endif // QMLPROJECTPLUGIN_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTRUNCONFIGURATION_H
#define QMLPROJECTRUNCONFIGURATION_H
#pragma once
#include "qmlprojectmanager_global.h"
@@ -113,5 +112,3 @@ private:
};
} // namespace QmlProjectManager
#endif // QMLPROJECTRUNCONFIGURATION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTRUNCONFIGURATIONFACTORY_H
#define QMLPROJECTRUNCONFIGURATIONFACTORY_H
#pragma once
#include <projectexplorer/runconfiguration.h>
@@ -56,6 +55,3 @@ private:
} // namespace Internal
} // namespace QmlProjectManager
#endif // QMLPROJECTRUNCONFIGURATIONFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMLPROJECTRUNCONFIGURATIONWIDGET_H
#define QMLPROJECTRUNCONFIGURATIONWIDGET_H
#pragma once
#include <QWidget>
@@ -59,5 +58,3 @@ private:
} // namespace Internal
} // namespace QmlProjectManager
#endif // QMLPROJECTRUNCONFIGURATIONWIDGET_H