| 1 | /* |
|---|---|
| 2 | SPDX-FileCopyrightText: 2011 Lamarque Souza <lamarque@kde.org> |
| 3 | |
| 4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 5 | */ |
| 6 | |
| 7 | #ifndef NETWORKMANAGERQT_BLUETOOTH_DEVICE_P_H |
| 8 | #define NETWORKMANAGERQT_BLUETOOTH_DEVICE_P_H |
| 9 | |
| 10 | #include "dbus/bluetoothdeviceinterface.h" |
| 11 | #include "modemdevice_p.h" |
| 12 | |
| 13 | namespace NetworkManager |
| 14 | { |
| 15 | class BluetoothDevicePrivate : public ModemDevicePrivate |
| 16 | { |
| 17 | Q_OBJECT |
| 18 | public: |
| 19 | explicit BluetoothDevicePrivate(const QString &path, BluetoothDevice *q); |
| 20 | OrgFreedesktopNetworkManagerDeviceBluetoothInterface btIface; |
| 21 | BluetoothDevice::Capabilities btCapabilities; |
| 22 | QString hardwareAddress; |
| 23 | QString name; |
| 24 | |
| 25 | Q_DECLARE_PUBLIC(BluetoothDevice) |
| 26 | protected: |
| 27 | /** |
| 28 | * When subclassing make sure to call the parent class method |
| 29 | * if the property was not useful to your new class |
| 30 | */ |
| 31 | void propertyChanged(const QString &property, const QVariant &value) override; |
| 32 | }; |
| 33 | |
| 34 | } |
| 35 | #endif // NETWORKMANAGERQT__BLUETOOTH_DEVICE_P_H |
| 36 |
