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 BRANCHCOMBOBOX_H
#define BRANCHCOMBOBOX_H
#pragma once
#include <QComboBox>
@@ -48,5 +47,3 @@ private:
} // namespace Internal
} // namespace Gerrit
#endif // BRANCHCOMBOBOX_H

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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