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 CENTRALWIDGET_H
|
||||
#define CENTRALWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include "helpwidget.h"
|
||||
|
||||
@@ -49,5 +48,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // CENTRALWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DOCSETTINGSPAGE_H
|
||||
#define DOCSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_docsettingspage.h"
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
@@ -77,5 +76,3 @@ private:
|
||||
|
||||
} // namespace Help
|
||||
} // namespace Internal
|
||||
|
||||
#endif // DOCSETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef FILTERSETTINGSPAGE_H
|
||||
#define FILTERSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_filtersettingspage.h"
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
@@ -72,5 +71,3 @@ private:
|
||||
|
||||
} // namespace Help
|
||||
} // namespace Internal
|
||||
|
||||
#endif // DOCSETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GENERALSETTINGSPAGE_H
|
||||
#define GENERALSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_generalsettingspage.h"
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
@@ -79,5 +78,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // Help
|
||||
|
||||
#endif // GENERALSETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPCONSTANTS_H
|
||||
#define HELPCONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QLatin1String>
|
||||
@@ -66,5 +65,3 @@ static const char SB_SEARCH[] = QT_TRANSLATE_NOOP("Help::Internal::HelpPlugin",
|
||||
|
||||
} // Constants
|
||||
} // Help
|
||||
|
||||
#endif // HELPCONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPFINDSUPPORT_H
|
||||
#define HELPFINDSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include "centralwidget.h"
|
||||
|
||||
@@ -58,5 +57,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELPFINDSUPPORT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPINDEXFILTER_H
|
||||
#define HELPINDEXFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/locator/ilocatorfilter.h>
|
||||
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELPINDEXFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPMODE_H
|
||||
#define HELPMODE_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/imode.h>
|
||||
|
||||
@@ -42,5 +41,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELPMODE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPPLUGIN_H
|
||||
#define HELPPLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "helpwidget.h"
|
||||
|
||||
@@ -135,5 +134,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELPPLUGIN_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPVIEWER_H
|
||||
#define HELPVIEWER_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/find/textfindconstants.h>
|
||||
|
||||
@@ -105,5 +104,3 @@ protected slots:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELPVIEWER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELPWIDGET_H
|
||||
#define HELPWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/icontext.h>
|
||||
|
||||
@@ -147,5 +146,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // Help
|
||||
|
||||
#endif // HELPWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LOCALHELPMANAGER_H
|
||||
#define LOCALHELPMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/helpmanager.h>
|
||||
|
||||
@@ -129,5 +128,3 @@ private:
|
||||
} // Help
|
||||
|
||||
Q_DECLARE_METATYPE(Help::Internal::LocalHelpManager::HelpData)
|
||||
|
||||
#endif // LOCALHELPMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef MACWEBKITHELPVIEWER_H
|
||||
#define MACWEBKITHELPVIEWER_H
|
||||
#pragma once
|
||||
|
||||
#include "helpviewer.h"
|
||||
|
||||
@@ -135,5 +134,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // MACWEBKITHELPVIEWER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OPENPAGESMANAGER_H
|
||||
#define OPENPAGESMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -94,5 +93,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // OPENPAGESMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OPENPAGESMODEL_H
|
||||
#define OPENPAGESMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include <QList>
|
||||
#include <QAbstractTableModel>
|
||||
@@ -60,5 +59,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // OPENPAGESMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OPENPAGESSWITCHER_H
|
||||
#define OPENPAGESSWITCHER_H
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // OPENPAGESSWITCHER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OPENPAGESWIDGET_H
|
||||
#define OPENPAGESWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/opendocumentstreeview.h>
|
||||
|
||||
@@ -62,5 +61,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // OPENPAGESWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTWEBKITHELPVIEWER_H
|
||||
#define QTWEBKITHELPVIEWER_H
|
||||
#pragma once
|
||||
|
||||
#include "helpviewer.h"
|
||||
|
||||
@@ -157,5 +156,3 @@ private:
|
||||
} // namespace Help
|
||||
|
||||
#endif // !QT_NO_WEBKIT
|
||||
|
||||
#endif // QTWEBKITHELPVIEWER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REMOTEHELPFILTER_H
|
||||
#define REMOTEHELPFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_remotehelpfilter.h"
|
||||
|
||||
@@ -82,5 +81,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // REMOTEHELPFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef HELP_SEARCHTASKHANDLER_H
|
||||
#define HELP_SEARCHTASKHANDLER_H
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/itaskhandler.h>
|
||||
|
||||
@@ -50,5 +49,3 @@ signals:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // HELP_SEARCHTASKHANDLER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SEARCHWIDGET_H
|
||||
#define SEARCHWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/sidebar.h>
|
||||
|
||||
@@ -103,5 +102,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // SEARCHWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef TEXTBROWSERHELPVIEWER_H
|
||||
#define TEXTBROWSERHELPVIEWER_H
|
||||
#pragma once
|
||||
|
||||
#include "centralwidget.h"
|
||||
#include "helpviewer.h"
|
||||
@@ -119,5 +118,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Help
|
||||
|
||||
#endif // TEXTBROWSERHELPVIEWER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef XBELSUPPORT_H
|
||||
#define XBELSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include <QIcon>
|
||||
#include <QXmlStreamReader>
|
||||
@@ -75,5 +74,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // Help
|
||||
|
||||
#endif // XBELSUPPORT_H
|
||||
|
||||
Reference in New Issue
Block a user