diff options
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/device.h')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/device.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/examples/bluetooth/lowenergyscanner/device.h b/examples/bluetooth/lowenergyscanner/device.h index 65f864ad..6a1d2b9c 100644 --- a/examples/bluetooth/lowenergyscanner/device.h +++ b/examples/bluetooth/lowenergyscanner/device.h @@ -4,20 +4,22 @@ #ifndef DEVICE_H #define DEVICE_H -#include <qbluetoothlocaldevice.h> -#include <QObject> -#include <QVariant> -#include <QList> -#include <QBluetoothServiceDiscoveryAgent> -#include <QBluetoothDeviceDiscoveryAgent> -#include <QLowEnergyController> -#include <QBluetoothServiceInfo> +#include "characteristicinfo.h" #include "deviceinfo.h" #include "serviceinfo.h" -#include "characteristicinfo.h" -QT_FORWARD_DECLARE_CLASS (QBluetoothDeviceInfo) -QT_FORWARD_DECLARE_CLASS (QBluetoothServiceInfo) +#include <QtBluetooth/qbluetoothdevicediscoveryagent.h> +#include <QtBluetooth/qlowenergycontroller.h> +#include <QtBluetooth/qlowenergyservice.h> + +#include <QtCore/qlist.h> +#include <QtCore/qobject.h> +#include <QtCore/qvariant.h> + +QT_BEGIN_NAMESPACE +class QBluetoothDeviceInfo; +class QBluetoothUuid; +QT_END_NAMESPACE class Device: public QObject { |