Replaced include guards with pragma once

This commit is contained in:
0xFEEDC0DE64
2018-04-11 23:33:58 +02:00
parent 0eb0cb5473
commit 19fe53016a
11 changed files with 11 additions and 44 deletions

View File

@@ -1,5 +1,4 @@
#ifndef LUNCHMEALSETTINGS_H
#define LUNCHMEALSETTINGS_H
#pragma once
#include <QObject>
#include <QUrl>
@@ -34,5 +33,3 @@ private:
static const QString m_defaultUrl;
static const QString m_defaultDateFormat;
};
#endif // LUNCHMEALSETTINGS_H

View File

@@ -1,5 +1,4 @@
#ifndef LUNCHMEALSETTINGSWIDGET_H
#define LUNCHMEALSETTINGSWIDGET_H
#pragma once
#include "settingswidget.h"
@@ -25,5 +24,3 @@ private:
QLineEdit *m_lineEditUrl;
QLineEdit *m_lineEditDateFormat;
};
#endif // LUNCHMEALSETTINGSWIDGET_H

View File

@@ -1,5 +1,4 @@
#ifndef PRESENCESETTINGS_H
#define PRESENCESETTINGS_H
#pragma once
#include <QObject>
@@ -25,5 +24,3 @@ private:
static const QString m_interval;
static const int m_defaultInterval;
};
#endif // PRESENCESETTINGS_H

View File

@@ -1,5 +1,4 @@
#ifndef PRESENCESETTINGSWIDGET_H
#define PRESENCESETTINGSWIDGET_H
#pragma once
#include "settingswidget.h"
@@ -24,5 +23,3 @@ private:
QSpinBox *m_spinBox;
};
#endif // PRESENCESETTINGSWIDGET_H

View File

@@ -1,5 +1,4 @@
#ifndef UPDATERSETTINGS_H
#define UPDATERSETTINGS_H
#pragma once
#include <QObject>
#include <QUrl>
@@ -33,5 +32,3 @@ private:
static const QString m_lastUpdateCheck;
static const QUrl m_defaultUrl;
};
#endif // UPDATERSETTINGS_H

View File

@@ -1,5 +1,4 @@
#ifndef UPDATERSETTINGSWIDGET_H
#define UPDATERSETTINGSWIDGET_H
#pragma once
#include "settingswidget.h"
@@ -24,5 +23,3 @@ private:
QLineEdit *m_lineEdit;
};
#endif // UPDATERSETTINGSWIDGET_H

View File

@@ -1,5 +1,4 @@
#ifndef WEATHERSETTINGS_H
#define WEATHERSETTINGS_H
#pragma once
#include <QObject>
#include <QUrl>
@@ -26,5 +25,3 @@ private:
static const QString m_url;
static const QUrl m_defaultUrl;
};
#endif // WEATHERSETTINGS_H

View File

@@ -1,5 +1,4 @@
#ifndef WEATHERSETTINGSWIDGET_H
#define WEATHERSETTINGSWIDGET_H
#pragma once
#include <QWidget>
@@ -28,5 +27,3 @@ private:
QLineEdit *m_lineEdit;
};
#endif // WEATHERSETTINGSWIDGET_H

View File

@@ -1,5 +1,4 @@
#ifndef WEBRADIOSETTINGS_H
#define WEBRADIOSETTINGS_H
#pragma once
#include <QObject>
#include <QUrl>
@@ -39,5 +38,3 @@ private:
static const QStringList m_defaultUrls;
static const int m_defaultVolume;
};
#endif // WEBRADIOSETTINGS_H

View File

@@ -1,5 +1,4 @@
#ifndef WEBRADIOSETTINGSWIDGET_H
#define WEBRADIOSETTINGSWIDGET_H
#pragma once
#include <QWidget>
@@ -28,5 +27,3 @@ private:
QStringListWidget *m_urlsWidget;
};
#endif // WEBRADIOSETTINGSWIDGET_H

View File

@@ -1,5 +1,4 @@
#ifndef SETTINGSWIDGET_H
#define SETTINGSWIDGET_H
#pragma once
#include <QObject>
#include <QWidget>
@@ -18,5 +17,3 @@ public:
public Q_SLOTS:
virtual void apply() { }
};
#endif // SETTINGSWIDGET_H