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 <QQmlApplicationEngine>
#include <QCommandLineParser>
#include <QQmlContext>
#include <KAboutData>
#include <KLocalizedString>
#include <KLocalizedContext>
#include <QtQml>
int main(int argc, char* argv[])
{

View file

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

View file

@ -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"

View file

@ -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)

View file

@ -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"

View file

@ -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)

View file

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

View file

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

View file

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

View file

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

View file

@ -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)

View file

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

View file

@ -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"

View file

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