cleanup includes
This commit is contained in:
parent
2dcd673c55
commit
63db3a5c90
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "notification/icon_p.h"
|
||||
|
||||
#include <QBuffer>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
QByteArray Icon::dataFromImage(const QImage &image)
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#include "icon_p.h"
|
||||
#include "../snore_p.h"
|
||||
|
||||
#include <QEventLoop>
|
||||
#include <QApplication>
|
||||
#include <QFile>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QApplication>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -24,12 +24,8 @@
|
|||
|
||||
#include <QImage>
|
||||
#include <QSharedData>
|
||||
#include <QBuffer>
|
||||
#include <QFile>
|
||||
#include <QDebug>
|
||||
#include <QSet>
|
||||
|
||||
#include <QMutex>
|
||||
|
||||
class QNetworkAccessManager;
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "notification/icon.h"
|
||||
#include "notification/notification_p.h"
|
||||
#include "plugins/plugincontainer.h"
|
||||
#include <QMetaEnum>
|
||||
#include <Qt>
|
||||
|
||||
using namespace Snore;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "../hint.h"
|
||||
#include "../application.h"
|
||||
|
||||
#include <QVariant>
|
||||
#include <QDebug>
|
||||
|
||||
namespace Snore
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include <QSharedData>
|
||||
#include <QTimer>
|
||||
#include <QPointer>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "../version.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
#include <QMetaEnum>
|
||||
#include <QApplication>
|
||||
#include <QTime>
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
#include "snore_exports.h"
|
||||
#include "../snore_p.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QSettings>
|
||||
#include <QFlag>
|
||||
#include <QPluginLoader>
|
||||
#include <QDir>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -23,13 +23,9 @@
|
|||
#include "../notification/notification_p.h"
|
||||
#include "plugincontainer.h"
|
||||
|
||||
#include <QTimer>
|
||||
#include <QPluginLoader>
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
#include <QMetaEnum>
|
||||
#include <QApplication>
|
||||
#include <QWidget>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -22,11 +22,7 @@
|
|||
#include "pluginsettingswidget.h"
|
||||
#include "../notification/notification.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QHash>
|
||||
#include <QTimer>
|
||||
#include <QtPlugin>
|
||||
#include <QSettings>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#include "../notification/notification_p.h"
|
||||
|
||||
#include <QTimer>
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
#include <QThread>
|
||||
#include <QMetaMethod>
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include "../notification/notification.h"
|
||||
#include "../snore.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QFlag>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
#include "snorefrontend.h"
|
||||
#include "../snore.h"
|
||||
|
||||
#include <QTimer>
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include "../notification/notification.h"
|
||||
#include "plugins.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QFlag>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
#include <iostream>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QApplication>
|
||||
#include <QSettings>
|
||||
|
||||
using namespace Snore;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "plugins/plugins.h"
|
||||
#include "hint.h"
|
||||
|
||||
#include <QSettings>
|
||||
#include <QStringList>
|
||||
#include <QTextDocument>
|
||||
#include <QTextDocumentFragment>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "snore.h"
|
||||
#include "plugins/snorebackend.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QPointer>
|
||||
#include <QCryptographicHash>
|
||||
|
||||
|
|
|
@ -20,17 +20,11 @@
|
|||
#include "trayicon.h"
|
||||
#include "core/snore.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <QList>
|
||||
#include <QDebug>
|
||||
#include <QPluginLoader>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QSettings>
|
||||
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SNORENOTIFY_H
|
||||
#define SNORENOTIFY_H
|
||||
|
||||
#include <QtCore>
|
||||
#include <QSettings>
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
@ -38,7 +38,7 @@ public:
|
|||
private:
|
||||
class TrayIcon *m_trayIcon;
|
||||
Snore::SnoreCore *m_snore;
|
||||
class QSettings m_settings;
|
||||
QSettings m_settings;
|
||||
|
||||
private slots:
|
||||
void exit();
|
||||
|
|
|
@ -21,9 +21,11 @@
|
|||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include <QMenu>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTimer>
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#ifndef TRAYICON_H
|
||||
#define TRAYICON_H
|
||||
|
||||
#include <QtCore>
|
||||
#include <QAction>
|
||||
#include "core/snore.h"
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "fredesktopnotification.h"
|
||||
|
||||
#include <QImage>
|
||||
#include <QtGlobal>
|
||||
|
||||
int FreedesktopImageHint::imageHintID = qDBusRegisterMetaType<FreedesktopImageHint>();
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include "core/notification/notification.h"
|
||||
|
||||
#include <QtDBus>
|
||||
#include <QMetaType>
|
||||
|
||||
class FreedesktopImageHint
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
#include "freedesktopnotification_backend.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QDebug>
|
||||
#include "core/notification/notification.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
#include "core/snore_p.h"
|
||||
#include <QtCore>
|
||||
#include <QImage>
|
||||
#include "fredesktopnotification.h"
|
||||
#include "core/snore.h"
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QTcpSocket>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "core/plugins/snorebackend.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
|
||||
#include <QtDebug>
|
||||
#include <QWidget>
|
||||
|
||||
#include <iostream>
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
#include "snorenotifier.h"
|
||||
#include "core/log.h"
|
||||
|
||||
#include <QDesktopWidget>
|
||||
#include <QDesktopServices>
|
||||
#include <QPicture>
|
||||
#include <QLayout>
|
||||
#include <QSize>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
|
@ -19,13 +19,10 @@
|
|||
#ifndef NOTIFYWIDGET_H
|
||||
#define NOTIFYWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QTimer>
|
||||
#include <QSharedMemory>
|
||||
#include "core/notification/notification.h"
|
||||
|
||||
#include <QtQuick/QtQuick>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
class SnoreNotifier;
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "core/snore_p.h"
|
||||
|
||||
|
||||
#include <QApplication>
|
||||
#include <QThread>
|
||||
|
||||
using namespace Snore;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "core/plugins/plugins.h"
|
||||
#include "core/plugins/snorebackend.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QApplication>
|
||||
#include <QSysInfo>
|
||||
|
|
|
@ -2,11 +2,7 @@
|
|||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTimer>
|
||||
#include <QTime>
|
||||
#include <QDebug>
|
||||
using namespace Snore;
|
||||
|
||||
TrayIconNotifer::TrayIconNotifer() :
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#include "core/version.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QtDBus>
|
||||
#include <QImage>
|
||||
#include <QIcon>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#define FREEDESKTOPNOTIFICATION_FRONTEND_H
|
||||
#include "core/plugins/snorefrontend.h"
|
||||
#include "core/application.h"
|
||||
#include <QtDBus>
|
||||
|
||||
class NotificationsAdaptor;
|
||||
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
#include "core/notification/notification.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QEventLoop>
|
||||
#include <QNetworkReply>
|
||||
#include <QObject>
|
||||
#include <QTcpSocket>
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "snarlnetwork.h"
|
||||
#include "core/snore.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QTcpServer>
|
||||
#include <QTcpSocket>
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "core/log.h"
|
||||
#include "parser.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QTcpSocket>
|
||||
#include <QTcpServer>
|
||||
|
||||
|
|
|
@ -18,8 +18,11 @@
|
|||
#include "toasty.h"
|
||||
#include "toastysettings.h"
|
||||
|
||||
#include <QtNetwork>
|
||||
#include <QImage>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
#include <QHttpMultiPart>
|
||||
#include <QFile>
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
|
Loading…
Reference in New Issue