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 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user