forked from qt-creator/qt-creator
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:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSBUNDLEPROVIDER_H
|
||||
#define QMLJSBUNDLEPROVIDER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QHash>
|
||||
@@ -75,5 +74,3 @@ public:
|
||||
};
|
||||
|
||||
} // end QmlJSTools namespace
|
||||
|
||||
#endif // QMLJSBUNDLEPROVIDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCODESTYLEPREFERENCESFACTORY_H
|
||||
#define QMLJSCODESTYLEPREFERENCESFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/icodestylepreferencesfactory.h>
|
||||
|
||||
@@ -46,5 +45,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSCODESTYLEPREFERENCESFACTORY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCODESTYLESETTINGSPAGE_H
|
||||
#define QMLJSCODESTYLESETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
#include <QWidget>
|
||||
@@ -86,5 +85,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // QMLJSCODESTYLESETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSFUNCTIONFILTER_H
|
||||
#define QMLJSFUNCTIONFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/locator/ilocatorfilter.h>
|
||||
|
||||
@@ -51,5 +50,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSFUNCTIONFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSINDENTER_H
|
||||
#define QMLJSINDENTER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -51,5 +50,3 @@ public:
|
||||
|
||||
} // Internal
|
||||
} // QmlJSEditor
|
||||
|
||||
#endif // QMLJSINDENTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSINTERPRETER_H
|
||||
#define QMLJSINTERPRETER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/parser/qmljslexer_p.h>
|
||||
#include <qmljs/parser/qmljsengine_p.h>
|
||||
@@ -55,5 +54,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSINTERPRETER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSLOCATORDATA_H
|
||||
#define QMLJSLOCATORDATA_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljsdocument.h>
|
||||
|
||||
@@ -72,5 +71,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSLOCATORDATA_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSMODELMANAGER_H
|
||||
#define QMLJSMODELMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
QMLJSTOOLS_EXPORT void setupProjectInfoQmlBundles(QmlJS::ModelManagerInterface::ProjectInfo &projectInfo);
|
||||
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSMODELMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSQTSTYLECODEFORMATTER_H
|
||||
#define QMLJSQTSTYLECODEFORMATTER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -57,5 +56,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSQTSTYLECODEFORMATTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSREFACTORINGCHANGES_H
|
||||
#define QMLJSREFACTORINGCHANGES_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -86,5 +85,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSREFACTORINGCHANGES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSSEMANTICINFO_H
|
||||
#define QMLJSSEMANTICINFO_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -101,5 +100,3 @@ private:
|
||||
} // namespace QmlJSTools
|
||||
|
||||
Q_DECLARE_METATYPE(QmlJSTools::SemanticInfo)
|
||||
|
||||
#endif // QMLJSSEMANTICINFO_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSTOOLS_GLOBAL_H
|
||||
#define QMLJSTOOLS_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -35,5 +34,3 @@
|
||||
#else
|
||||
# define QMLJSTOOLS_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // QMLJSTOOLS_GLOBAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSTOOLS_CONSTANTS_H
|
||||
#define QMLJSTOOLS_CONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -52,5 +51,3 @@ const char SETTINGS_CATEGORY_QML_ICON[] = ":/qmljstools/images/category_qml.png"
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSTOOLS_CONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSTOOLS_H
|
||||
#define QMLJSTOOLS_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
#include <extensionsystem/iplugin.h>
|
||||
@@ -77,5 +76,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // QMLJSTOOLS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSTOOLSSETTINGS_H
|
||||
#define QMLJSTOOLSSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljstools_global.h"
|
||||
|
||||
@@ -49,5 +48,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlJSTools
|
||||
|
||||
#endif // QMLJSTOOLSSETTINGS_H
|
||||
|
||||
Reference in New Issue
Block a user