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_DCLONEVISITOR_H
#define QMT_DCLONEVISITOR_H
#pragma once
#include "qmt/diagram/dconstvisitor.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -82,5 +81,3 @@ private:
};
} // namespace qmt
#endif // QMT_DCLONEVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DCONTAINER_H
#define QMT_DCONTAINER_H
#pragma once
#include "qmt/controller/container.h"
#include "qmt/diagram/delement.h"
@@ -36,5 +35,3 @@ class QMT_EXPORT DContainer : public Container<DElement>
};
} // namespace qmt
#endif // QMT_DCONTAINER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DFACTORY_H
#define QMT_DFACTORY_H
#pragma once
#include "qmt/model/mconstvisitor.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -58,5 +57,3 @@ private:
};
} // namespace qmt
#endif // QMT_DFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DFLATASSIGNMENTVISITOR_H
#define QMT_DFLATASSIGNMENTVISITOR_H
#pragma once
#include "qmt/diagram/dconstvisitor.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -55,5 +54,3 @@ private:
};
} // namespace qmt
#endif // QMT_DFLATASSIGNMENTVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DIAGRAMCONTROLLER_H
#define QMT_DIAGRAMCONTROLLER_H
#pragma once
#include "qmt/infrastructure/uid.h"
@@ -170,5 +169,3 @@ private:
};
} // namespace qmt
#endif // DIAGRAMCONTROLLER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DREFERENCES_H
#define QMT_DREFERENCES_H
#pragma once
#include "qmt/controller/references.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -38,5 +37,3 @@ class QMT_EXPORT DReferences : public References<DElement>
};
} // namespace qmt
#endif // QMT_DREFERENCES_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DSELECTION_H
#define QMT_DSELECTION_H
#pragma once
#include "qmt/controller/selection.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -36,5 +35,3 @@ class QMT_EXPORT DSelection : public Selection
};
} // namespace qmt
#endif // QMT_DSELECTION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DUPDATEVISITOR_H
#define QMT_DUPDATEVISITOR_H
#pragma once
#include "qmt/model/mconstvisitor.h"
#include "qmt/infrastructure/qmt_global.h"
@@ -64,5 +63,3 @@ private:
};
} // namespace qmt
#endif // QMT_DUPDATEVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QMT_DVOIDVISITOR_H
#define QMT_DVOIDVISITOR_H
#pragma once
#include "qmt/diagram/dvisitor.h"
#include "qmt/diagram/dconstvisitor.h"
@@ -73,5 +72,3 @@ public:
};
} // namespace qmt
#endif // DVOIDVISITOR_H