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 QMT_ALIGNONRASTERVISITOR_H
#define QMT_ALIGNONRASTERVISITOR_H
#pragma once
#include "qmt/diagram/dvisitor.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -66,5 +65,3 @@ private:
};
} // namespace qmt
#endif // QMT_ALIGNONRASTERVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DIAGRAMSCENECONTROLLER_H
#define QMT_DIAGRAMSCENECONTROLLER_H
#pragma once
#include <QObject>
#include "qmt/infrastructure/qmt_global.h"
@@ -133,5 +132,3 @@ private:
};
} // namespace qmt
#endif // QMT_DIAGRAMSCENECONTROLLER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_FINDDIAGRAMVISITOR_H
#define QMT_FINDDIAGRAMVISITOR_H
#pragma once
#include "qmt/model_controller/mvoidvisitor.h"
@@ -46,5 +45,3 @@ private:
};
} // namespace qmt
#endif // QMT_FINDDIAGRAMVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_FINDROOTDIAGRAMVISITOR_H
#define QMT_FINDROOTDIAGRAMVISITOR_H
#pragma once
#include "qmt/model_controller/mvoidvisitor.h"
@@ -47,5 +46,3 @@ private:
};
} // namespace qmt
#endif // QMT_FINDROOTDIAGRAMVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_IELEMENTTASKS_H
#define QMT_IELEMENTTASKS_H
#pragma once
namespace qmt {
@@ -77,5 +76,3 @@ public:
};
} // namespace qmt
#endif // QMT_IELEMENTTASKS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_ISCENEINSPECTOR_H
#define QMT_ISCENEINSPECTOR_H
#pragma once
#include <QtGlobal>
@@ -51,5 +50,3 @@ public:
};
} // namespace qmt
#endif // QMT_ISCENEINSPECTOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_VOIDELEMENTTASKS_H
#define QMT_VOIDELEMENTTASKS_H
#pragma once
#include "ielementtasks.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -76,5 +75,3 @@ public:
};
} // namespace qmt
#endif // QMT_VOIDELEMENTTASKS_H