Commit 8548ebd0 authored by Nicolas Fella's avatar Nicolas Fella

Clean up includes

parent 0b92f739
......@@ -21,10 +21,11 @@
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QCommandLineParser>
#include <QQmlContext>
#include <KAboutData>
#include <KLocalizedString>
#include <KLocalizedContext>
#include <QtQml>
int main(int argc, char* argv[])
{
......
......@@ -23,7 +23,7 @@
#include <QObject>
#include <QString>
#include <QtBluetooth/QBluetoothSocket>
#include <QBluetoothSocket>
#include "../devicelink.h"
#include "../devicelinereader.h"
......
......@@ -24,13 +24,13 @@
#include <QObject>
#include <QPointer>
#include <QTimer>
#include <QtBluetooth/QBluetoothAddress>
#include <QtBluetooth/QBluetoothLocalDevice>
#include <QtBluetooth/QBluetoothUuid>
#include <QtBluetooth/QBluetoothServer>
#include <QtBluetooth/QBluetoothDeviceDiscoveryAgent>
#include <QtBluetooth/QBluetoothServiceDiscoveryAgent>
#include <QtBluetooth/QBluetoothSocket>
#include <QBluetoothAddress>
#include <QBluetoothLocalDevice>
#include <QBluetoothUuid>
#include <QBluetoothServer>
#include <QBluetoothDeviceDiscoveryAgent>
#include <QBluetoothServiceDiscoveryAgent>
#include <QBluetoothSocket>
#include "../linkprovider.h"
......
......@@ -18,12 +18,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bluetoothpairinghandler.h"
#include <KLocalizedString>
#include "core_debug.h"
#include "daemon.h"
#include "kdeconnectconfig.h"
#include "bluetoothpairinghandler.h"
#include "networkpackettypes.h"
BluetoothPairingHandler::BluetoothPairingHandler(DeviceLink* deviceLink)
......
......@@ -18,9 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "landevicelink.h"
#include <KLocalizedString>
#include "landevicelink.h"
#include "core_debug.h"
#include "kdeconnectconfig.h"
#include "backends/linkprovider.h"
......
......@@ -18,13 +18,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "lanpairinghandler.h"
#include <KLocalizedString>
#include "core_debug.h"
#include "daemon.h"
#include "kdeconnectconfig.h"
#include "landevicelink.h"
#include "lanpairinghandler.h"
#include "networkpackettypes.h"
LanPairingHandler::LanPairingHandler(DeviceLink* deviceLink)
......
......@@ -24,7 +24,6 @@
#include <QQmlContext>
#include <QDBusPendingCall>
#include <QDBusPendingReply>
#include <QtQml>
#include "objectfactory.h"
#include "responsewaiter.h"
......
......@@ -20,7 +20,6 @@
#include "conversationmessage.h"
#include <QtCore>
#include <QVariantMap>
......
......@@ -23,8 +23,6 @@
#include "modeltest.h"
#include <QtGui>
Q_DECLARE_METATYPE(QModelIndex)
/*!
......
......@@ -25,7 +25,7 @@
#include <QDebug>
#include <QDBusConnection>
#include <QtDBus>
#include <QDBusMetaType>
#include <QEventLoop>
#include <QLoggingCategory>
#include <QFile>
......
......@@ -18,10 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <networkpacket.h>
#include "mprisremoteplayer.h"
#include <QDateTime>
#include "mprisremoteplayer.h"
#include <networkpacket.h>
MprisRemotePlayer::MprisRemotePlayer() :
m_playing(false)
......
......@@ -21,6 +21,8 @@
#include <QString>
class NetworkPacket;
class MprisRemotePlayer {
public:
......
......@@ -17,6 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "notificationslistener.h"
#include <QDBusConnection>
#include <QDBusInterface>
......@@ -33,7 +34,6 @@
#include <core/device.h>
#include <core/kdeconnectplugin.h>
#include "notificationslistener.h"
#include "sendnotificationsplugin.h"
#include "sendnotification_debug.h"
#include "notifyingapplication.h"
......
......@@ -31,7 +31,6 @@
#include <KLocalizedString>
#include <KLocalizedContext>
#include <KDBusService>
#include <QtQml>
int main(int argc, char *argv[])
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment