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 AGGREGATE_H
#define AGGREGATE_H
#pragma once
#include "aggregation_global.h"
@@ -126,5 +125,3 @@ template <typename T> QList<T *> query_all(QObject *obj)
}
} // namespace Aggregation
#endif // AGGREGATE_H

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef MAIN_H
#define MAIN_H
#pragma once
#include "myinterfaces.h"
#include "ui_main.h"
@@ -51,5 +50,3 @@ private:
QList<IComboEntry *> m_entries;
};
#endif // MAIN_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef MYINTERFACES_H
#define MYINTERFACES_H
#pragma once
#include <aggregate.h>
@@ -80,5 +79,3 @@ public:
private:
QString m_text;
};
#endif // MYINTERFACES_H