Replaced include guards with pragma once
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user