Removed unused includes and fixed indentation in some lines

This commit is contained in:
Albert Vaca 2013-09-03 02:14:27 +02:00
parent da1347aaa1
commit 9a0d110769
5 changed files with 11 additions and 13 deletions

View file

@ -52,7 +52,7 @@ Device::Device(const NetworkPackage& identityPackage, DeviceLink* dl)
addLink(dl); addLink(dl);
m_pairStatus = Device::Device::NotPaired; m_pairStatus = Device::NotPaired;
//Register in bus //Register in bus
QDBusConnection::sessionBus().registerObject(dbusPath(), this, QDBusConnection::ExportScriptableContents | QDBusConnection::ExportAdaptors); QDBusConnection::sessionBus().registerObject(dbusPath(), this, QDBusConnection::ExportScriptableContents | QDBusConnection::ExportAdaptors);

View file

@ -23,8 +23,8 @@
#define PACKAGE_TYPE_IDENTITY QString("kdeconnect.identity") #define PACKAGE_TYPE_IDENTITY QString("kdeconnect.identity")
#define PACKAGE_TYPE_PAIR QString("kdeconnect.pair") #define PACKAGE_TYPE_PAIR QString("kdeconnect.pair")
#define PACKAGE_TYPE_PING QString("kdeconnect.ping")
#define PACKAGE_TYPE_ENCRYPTED QString("kdeconnect.encrypted") #define PACKAGE_TYPE_ENCRYPTED QString("kdeconnect.encrypted")
#define PACKAGE_TYPE_PING QString("kdeconnect.ping")
#define PACKAGE_TYPE_NOTIFICATION QString("kdeconnect.notification") #define PACKAGE_TYPE_NOTIFICATION QString("kdeconnect.notification")
#define PACKAGE_TYPE_BATTERY QString("kdeconnect.battery") #define PACKAGE_TYPE_BATTERY QString("kdeconnect.battery")
#define PACKAGE_TYPE_TELEPHONY QString("kdeconnect.telephony") #define PACKAGE_TYPE_TELEPHONY QString("kdeconnect.telephony")

View file

@ -22,6 +22,7 @@
#include "propertiesdbusinterface.h" #include "propertiesdbusinterface.h"
#include <QDBusArgument>
#include <QDebug> #include <QDebug>
#include <QDBusConnection> #include <QDBusConnection>
#include <QDBusInterface> #include <QDBusInterface>

View file

@ -21,13 +21,10 @@
#ifndef MPRISCONTROLPLUGIN_H #ifndef MPRISCONTROLPLUGIN_H
#define MPRISCONTROLPLUGIN_H #define MPRISCONTROLPLUGIN_H
#include <QSet>
#include <QString> #include <QString>
#include <QHash> #include <QHash>
#include <QDBusArgument>
#include "../kdeconnectplugin.h" #include "../kdeconnectplugin.h"
#include "mprisdbusinterface.h"
class MprisControlPlugin class MprisControlPlugin
: public KdeConnectPlugin : public KdeConnectPlugin