cleanup includes
This commit is contained in:
parent
884363e67f
commit
5857d09085
|
@ -1,11 +1,7 @@
|
|||
#include <libsnore/snore.h>
|
||||
#include <libsnore/utils.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
|
||||
#include <QTextDocument>
|
||||
#include <QTextDocumentFragment>
|
||||
|
||||
#include <QtTest>
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
SnoreNotify::SnoreNotify()
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
#ifndef SNORENOTIFY_H
|
||||
#define SNORENOTIFY_H
|
||||
|
||||
#include <QSettings>
|
||||
#include <QObject>
|
||||
|
||||
class TrayIcon;
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
@ -34,7 +36,7 @@ public:
|
|||
~SnoreNotify();
|
||||
|
||||
private:
|
||||
class TrayIcon *m_trayIcon;
|
||||
TrayIcon *m_trayIcon;
|
||||
};
|
||||
|
||||
#endif // SNORENOTIFY_H
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <QDialogButtonBox>
|
||||
#include <QMenu>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTimer>
|
||||
|
||||
#include "libsnore/version.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#ifndef HINT_H
|
||||
#define HINT_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariantHash>
|
||||
#include <QDebug>
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "../version.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QMetaEnum>
|
||||
#include <QApplication>
|
||||
#include <QTime>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "snore.h"
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QLabel>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
#include "snore.h"
|
||||
#include "snore_p.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QTabWidget>
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
|
||||
using namespace Snore;
|
||||
|
|
|
@ -20,17 +20,13 @@
|
|||
|
||||
#include "snore_exports.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
#include <QWidget>
|
||||
|
||||
class QAbstractButton;
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
class SnoreCore;
|
||||
class PluginSettingsWidget;
|
||||
class Application;
|
||||
class Alert;
|
||||
}
|
||||
|
||||
namespace Ui
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "version.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QSettings>
|
||||
#include <QThread>
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "plugins/plugins.h"
|
||||
#include "hint.h"
|
||||
|
||||
#include <QSettings>
|
||||
#include <QStringList>
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "version.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QSettings>
|
||||
#include <QTemporaryDir>
|
||||
#include <QTranslator>
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
#include "utils.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QApplication>
|
||||
|
||||
class QSettings;
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -21,9 +21,8 @@
|
|||
#include "snore_exports.h"
|
||||
#include "snoreglobals.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCryptographicHash>
|
||||
#include <QSettings>
|
||||
#include <QObject>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
#include "fredesktopnotification.h"
|
||||
|
||||
#include <QImage>
|
||||
#include <QDBusMetaType>
|
||||
#include <QImage>
|
||||
|
||||
int FreedesktopImageHint::imageHintID = qDBusRegisterMetaType<FreedesktopImageHint>();
|
||||
|
||||
|
|
|
@ -23,13 +23,11 @@
|
|||
#include "libsnore/version.h"
|
||||
#include "libsnore/notification/notification_p.h"
|
||||
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QHttpMultiPart>
|
||||
#include <QNetworkReply>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QJsonArray>
|
||||
#include <QtWebSockets/QWebSocket>
|
||||
#include <QtWebSockets>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QPointer>
|
||||
#include <QtWebSockets/QWebSocket>
|
||||
|
||||
class QWebSocket;
|
||||
|
||||
class PushoverFrontend : public Snore::SnoreFrontend
|
||||
{
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include"libsnore/utils.h"
|
||||
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include"libsnore/utils.h"
|
||||
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
#include <QHttpMultiPart>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "toastysettings.h"
|
||||
#include "libsnore/utils.h"
|
||||
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
#include <QHttpMultiPart>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QMainWindow>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "utils.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QComboBox>
|
||||
#include <QDialogButtonBox>
|
||||
|
||||
using namespace Snore;
|
||||
|
|
|
@ -23,7 +23,6 @@ public:
|
|||
|
||||
static QSettings &settings();
|
||||
|
||||
|
||||
template<typename Func>
|
||||
static QStringList allSettingsKeysWithPrefix(const QString &prefix, QSettings &settings, Func fun)
|
||||
{
|
||||
|
@ -41,7 +40,6 @@ public:
|
|||
return out;
|
||||
}
|
||||
|
||||
|
||||
private Q_SLOTS:
|
||||
void on_buttonBox_clicked(QAbstractButton *button);
|
||||
void on_comboBox_currentIndexChanged(const QString &arg1);
|
||||
|
|
Loading…
Reference in New Issue