mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Use pragma once
This commit is contained in:
parent
8f848d8ceb
commit
52cbb613ae
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef ABSTRACTSETTINGS_H
|
||||
#define ABSTRACTSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include "../../lib/mapping/CMap.h"
|
||||
@ -66,5 +65,3 @@ public:
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // ABSTRACTSETTINGS_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef EVENTSETTINGS_H
|
||||
#define EVENTSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "abstractsettings.h"
|
||||
|
||||
@ -38,4 +37,3 @@ private:
|
||||
Ui::EventSettings *ui;
|
||||
};
|
||||
|
||||
#endif // EVENTSETTINGS_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef GENERALSETTINGS_H
|
||||
#define GENERALSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "abstractsettings.h"
|
||||
|
||||
@ -33,5 +32,3 @@ private slots:
|
||||
private:
|
||||
Ui::GeneralSettings *ui;
|
||||
};
|
||||
|
||||
#endif // GENERALSETTINGS_H
|
||||
|
@ -7,9 +7,8 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef LOSECONDITIONS_H
|
||||
#define LOSECONDITIONS_H
|
||||
#include "abstractsettings.h"
|
||||
|
||||
namespace Ui {
|
||||
@ -39,4 +38,3 @@ private:
|
||||
QLineEdit * loseValueWidget = nullptr;
|
||||
};
|
||||
|
||||
#endif // LOSECONDITIONS_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef MODSETTINGS_H
|
||||
#define MODSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "abstractsettings.h"
|
||||
|
||||
@ -41,5 +40,3 @@ private:
|
||||
Ui::ModSettings *ui;
|
||||
const CMap * mapPointer = nullptr;
|
||||
};
|
||||
|
||||
#endif // MODSETTINGS_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef RUMORSETTINGS_H
|
||||
#define RUMORSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "abstractsettings.h"
|
||||
|
||||
@ -39,5 +38,3 @@ private slots:
|
||||
private:
|
||||
Ui::RumorSettings *ui;
|
||||
};
|
||||
|
||||
#endif // RUMORSETTINGS_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef TIMEDEVENT_H
|
||||
#define TIMEDEVENT_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@ -36,5 +35,3 @@ private:
|
||||
Ui::TimedEvent *ui;
|
||||
QListWidgetItem * target;
|
||||
};
|
||||
|
||||
#endif // TIMEDEVENT_H
|
||||
|
@ -7,8 +7,7 @@
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#ifndef VICTORYCONDITIONS_H
|
||||
#define VICTORYCONDITIONS_H
|
||||
#pragma once
|
||||
|
||||
#include "abstractsettings.h"
|
||||
|
||||
@ -38,5 +37,3 @@ private:
|
||||
QComboBox * victorySelectWidget = nullptr;
|
||||
QLineEdit * victoryValueWidget = nullptr;
|
||||
};
|
||||
|
||||
#endif // VICTORYCONDITIONS_H
|
||||
|
Loading…
Reference in New Issue
Block a user