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 CLASSDEFINITION_H
#define CLASSDEFINITION_H
#pragma once
#include "ui_classdefinition.h"
#include "filenamingparameters.h"
@@ -67,5 +66,3 @@ private:
}
}
#endif

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CLASSLIST_H
#define CLASSLIST_H
#pragma once
#include <QListView>
@@ -68,4 +67,3 @@ private:
} // namespace Internal
} // namespace QmakeProjectManager
#endif

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CUSTOMWIDGETPLUGINWIZARDPAGE_H
#define CUSTOMWIDGETPLUGINWIZARDPAGE_H
#pragma once
#include "filenamingparameters.h"
@@ -75,5 +74,3 @@ private:
} // namespace Internal
} // namespace QmakeProjectManager
#endif // CUSTOMWIDGETPLUGINWIZARDPAGE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CUSTOMWIDGETWIDGETSWIZARDPAGE_H
#define CUSTOMWIDGETWIDGETSWIZARDPAGE_H
#pragma once
#include "pluginoptions.h"
#include "filenamingparameters.h"
@@ -83,5 +82,3 @@ private:
}
}
#endif // CUSTOMWIDGETWIDGETSWIZARDPAGE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CUSTOMWIDGETWIZARD_H
#define CUSTOMWIDGETWIZARD_H
#pragma once
#include "../wizards/qtwizard.h"
@@ -46,5 +45,3 @@ protected:
} // namespace Internal
} // namespace QmakeProjectManager
#endif // CUSTOMWIDGETWIZARD_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CUSTOMWIDGETWIZARDDIALOG_H
#define CUSTOMWIDGETWIZARDDIALOG_H
#pragma once
#include "../wizards/qtwizard.h"
@@ -63,5 +62,3 @@ private:
} // namespace Internal
} // namespace QmakeProjectManager
#endif // CUSTOMWIDGETWIZARDDIALOG_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef FILENAMINGPARAMETERS_H
#define FILENAMINGPARAMETERS_H
#pragma once
#include <QString>
#include <QFileInfo>
@@ -79,4 +78,3 @@ struct FileNamingParameters
}
}
#endif // FILENAMINGPARAMETERS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PLUGINGENERATOR_H
#define PLUGINGENERATOR_H
#pragma once
#include <QObject>
#include <QString>
@@ -65,5 +64,3 @@ private:
}
}
#endif

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PLUGINOPTIONS_H
#define PLUGINOPTIONS_H
#pragma once
#include <QString>
#include <QList>
@@ -66,5 +65,3 @@ struct PluginOptions {
}
}
#endif