Unused include cleanup

This commit is contained in:
Albert Vaca 2016-07-05 14:13:48 +02:00
parent 0d6a7bafcf
commit 7c0fbbc034
9 changed files with 12 additions and 23 deletions

View file

@ -25,8 +25,9 @@
#include <QTcpServer>
#include <QSslSocket>
#include <QUdpSocket>
#include <QtNetwork/qsslsocket.h>
#include <QTimer>
#include <QNetworkSession>
#include <QSslSocket>
#include <kdeconnectcore_export.h>
#include "../linkprovider.h"

View file

@ -21,6 +21,9 @@
#ifndef KDECONNECT_LANPAIRINGHANDLER_H
#define KDECONNECT_LANPAIRINGHANDLER_H
#include <QObject>
#include <QTimer>
#include "device.h"
#include "../devicelink.h"
#include "../pairinghandler.h"

View file

@ -22,8 +22,6 @@
#define LINKPROVIDER_H
#include <QObject>
#include <QVector>
#include <QNetworkSession>
#include "core/networkpackage.h"
#include "pairinghandler.h"

View file

@ -24,8 +24,6 @@
#include "networkpackage.h"
#include "devicelink.h"
#include <QTimer>
/*
* This class separates the pairing interface for each type of link.
* Since different links can pair via different methods, like for LanLink certificate and public key should be shared,
@ -37,7 +35,8 @@
* After that if any one of the link is paired, then we can say that device is paired, so new link will pair automatically
*/
class KDECONNECTCORE_EXPORT PairingHandler : public QObject
class KDECONNECTCORE_EXPORT PairingHandler
: public QObject
{
Q_OBJECT

View file

@ -25,16 +25,11 @@
#endif
#include <QDBusConnection>
#include <QFile>
#include <QStandardPaths>
#include <QSslCertificate>
#include <KSharedConfig>
#include <KConfigGroup>
#include <KLocalizedString>
#include <QIcon>
#include <QDir>
#include <QJsonArray>
#include <qstringbuilder.h>
#include "core_debug.h"
#include "kdeconnectplugin.h"
@ -47,7 +42,6 @@
#define MIN_VERSION_WITH_CAPPABILITIES_SUPPORT 6
Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core")
static void warn(const QString &info)

View file

@ -25,10 +25,6 @@
#include <QString>
#include <QVector>
#include <QSet>
#include <QSslKey>
#include <QtCrypto>
#include <QSslCertificate>
#include <QTimer>
#include "networkpackage.h"
#include "backends/devicelink.h"

View file

@ -23,7 +23,6 @@
#include <KPluginMetaData>
#include <KPluginLoader>
#include <KPluginFactory>
#include <QJsonArray>
#include "core_debug.h"
#include "device.h"

View file

@ -25,7 +25,6 @@
#include <QDBusInterface>
#include <KSharedConfig>
#include <KConfigGroup>
#include <QIcon>
//#include "modeltest.h"