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 #pragma once
#define LUNCHMEALSETTINGS_H
#include <QObject> #include <QObject>
#include <QUrl> #include <QUrl>
@@ -34,5 +33,3 @@ private:
static const QString m_defaultUrl; static const QString m_defaultUrl;
static const QString m_defaultDateFormat; static const QString m_defaultDateFormat;
}; };
#endif // LUNCHMEALSETTINGS_H

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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