Clean up includes

This commit is contained in:
Nicolas Fella 2019-02-03 01:44:22 +01:00
parent 0b92f73976
commit 8548ebd032
14 changed files with 23 additions and 21 deletions

View file

@ -21,10 +21,11 @@
#include <QApplication> #include <QApplication>
#include <QQmlApplicationEngine> #include <QQmlApplicationEngine>
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QQmlContext>
#include <KAboutData> #include <KAboutData>
#include <KLocalizedString> #include <KLocalizedString>
#include <KLocalizedContext> #include <KLocalizedContext>
#include <QtQml>
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {

View file

@ -23,7 +23,7 @@
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QtBluetooth/QBluetoothSocket> #include <QBluetoothSocket>
#include "../devicelink.h" #include "../devicelink.h"
#include "../devicelinereader.h" #include "../devicelinereader.h"

View file

@ -24,13 +24,13 @@
#include <QObject> #include <QObject>
#include <QPointer> #include <QPointer>
#include <QTimer> #include <QTimer>
#include <QtBluetooth/QBluetoothAddress> #include <QBluetoothAddress>
#include <QtBluetooth/QBluetoothLocalDevice> #include <QBluetoothLocalDevice>
#include <QtBluetooth/QBluetoothUuid> #include <QBluetoothUuid>
#include <QtBluetooth/QBluetoothServer> #include <QBluetoothServer>
#include <QtBluetooth/QBluetoothDeviceDiscoveryAgent> #include <QBluetoothDeviceDiscoveryAgent>
#include <QtBluetooth/QBluetoothServiceDiscoveryAgent> #include <QBluetoothServiceDiscoveryAgent>
#include <QtBluetooth/QBluetoothSocket> #include <QBluetoothSocket>
#include "../linkprovider.h" #include "../linkprovider.h"

View file

@ -18,12 +18,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "bluetoothpairinghandler.h"
#include <KLocalizedString> #include <KLocalizedString>
#include "core_debug.h" #include "core_debug.h"
#include "daemon.h" #include "daemon.h"
#include "kdeconnectconfig.h" #include "kdeconnectconfig.h"
#include "bluetoothpairinghandler.h"
#include "networkpackettypes.h" #include "networkpackettypes.h"
BluetoothPairingHandler::BluetoothPairingHandler(DeviceLink* deviceLink) BluetoothPairingHandler::BluetoothPairingHandler(DeviceLink* deviceLink)

View file

@ -18,9 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "landevicelink.h"
#include <KLocalizedString> #include <KLocalizedString>
#include "landevicelink.h"
#include "core_debug.h" #include "core_debug.h"
#include "kdeconnectconfig.h" #include "kdeconnectconfig.h"
#include "backends/linkprovider.h" #include "backends/linkprovider.h"

View file

@ -18,13 +18,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "lanpairinghandler.h"
#include <KLocalizedString> #include <KLocalizedString>
#include "core_debug.h" #include "core_debug.h"
#include "daemon.h" #include "daemon.h"
#include "kdeconnectconfig.h" #include "kdeconnectconfig.h"
#include "landevicelink.h" #include "landevicelink.h"
#include "lanpairinghandler.h"
#include "networkpackettypes.h" #include "networkpackettypes.h"
LanPairingHandler::LanPairingHandler(DeviceLink* deviceLink) LanPairingHandler::LanPairingHandler(DeviceLink* deviceLink)

View file

@ -24,7 +24,6 @@
#include <QQmlContext> #include <QQmlContext>
#include <QDBusPendingCall> #include <QDBusPendingCall>
#include <QDBusPendingReply> #include <QDBusPendingReply>
#include <QtQml>
#include "objectfactory.h" #include "objectfactory.h"
#include "responsewaiter.h" #include "responsewaiter.h"

View file

@ -20,7 +20,6 @@
#include "conversationmessage.h" #include "conversationmessage.h"
#include <QtCore>
#include <QVariantMap> #include <QVariantMap>

View file

@ -23,8 +23,6 @@
#include "modeltest.h" #include "modeltest.h"
#include <QtGui>
Q_DECLARE_METATYPE(QModelIndex) Q_DECLARE_METATYPE(QModelIndex)
/*! /*!

View file

@ -25,7 +25,7 @@
#include <QDebug> #include <QDebug>
#include <QDBusConnection> #include <QDBusConnection>
#include <QtDBus> #include <QDBusMetaType>
#include <QEventLoop> #include <QEventLoop>
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QFile> #include <QFile>

View file

@ -18,10 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <networkpacket.h> #include "mprisremoteplayer.h"
#include <QDateTime> #include <QDateTime>
#include "mprisremoteplayer.h" #include <networkpacket.h>
MprisRemotePlayer::MprisRemotePlayer() : MprisRemotePlayer::MprisRemotePlayer() :
m_playing(false) m_playing(false)

View file

@ -21,6 +21,8 @@
#include <QString> #include <QString>
class NetworkPacket;
class MprisRemotePlayer { class MprisRemotePlayer {
public: public:

View file

@ -17,6 +17,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "notificationslistener.h"
#include <QDBusConnection> #include <QDBusConnection>
#include <QDBusInterface> #include <QDBusInterface>
@ -33,7 +34,6 @@
#include <core/device.h> #include <core/device.h>
#include <core/kdeconnectplugin.h> #include <core/kdeconnectplugin.h>
#include "notificationslistener.h"
#include "sendnotificationsplugin.h" #include "sendnotificationsplugin.h"
#include "sendnotification_debug.h" #include "sendnotification_debug.h"
#include "notifyingapplication.h" #include "notifyingapplication.h"

View file

@ -31,7 +31,6 @@
#include <KLocalizedString> #include <KLocalizedString>
#include <KLocalizedContext> #include <KLocalizedContext>
#include <KDBusService> #include <KDBusService>
#include <QtQml>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {