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 BRANCHCOMBOBOX_H
|
||||
#define BRANCHCOMBOBOX_H
|
||||
#pragma once
|
||||
|
||||
#include <QComboBox>
|
||||
|
||||
@@ -48,5 +47,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // BRANCHCOMBOBOX_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRIT_INTERNAL_GERRITDIALOG_H
|
||||
#define GERRIT_INTERNAL_GERRITDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
@@ -115,5 +114,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // GERRIT_INTERNAL_GERRITDIALOG_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRIT_INTERNAL_GERRITMODEL_H
|
||||
#define GERRIT_INTERNAL_GERRITMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include <QStandardItemModel>
|
||||
#include <QSharedPointer>
|
||||
@@ -147,5 +146,3 @@ private:
|
||||
} // namespace Gerrit
|
||||
|
||||
Q_DECLARE_METATYPE(Gerrit::Internal::GerritChangePtr)
|
||||
|
||||
#endif // GERRIT_INTERNAL_GERRITMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRIT_INTERNAL_GERRITOPTIONSPAGE_H
|
||||
#define GERRIT_INTERNAL_GERRITOPTIONSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include <vcsbase/vcsbaseoptionspage.h>
|
||||
|
||||
@@ -81,5 +80,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // GERRIT_INTERNAL_GERRITOPTIONSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRITPARAMETERS_H
|
||||
#define GERRITPARAMETERS_H
|
||||
#pragma once
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
@@ -63,5 +62,3 @@ inline bool operator!=(const GerritParameters &p1, const GerritParameters &p2)
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // GERRITPARAMETERS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRIT_INTERNAL_GERRITPLUGIN_H
|
||||
#define GERRIT_INTERNAL_GERRITPLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
@@ -89,5 +88,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // GERRIT_INTERNAL_GERRITPLUGIN_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef GERRITPUSHDIALOG_H
|
||||
#define GERRITPUSHDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QMultiMap>
|
||||
@@ -76,5 +75,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Gerrit
|
||||
|
||||
#endif // GERRITPUSHDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user