File indexing completed on 2024-04-14 03:57:41

0001 /*
0002     SPDX-FileCopyrightText: 2011 Lamarque Souza <lamarque@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef NETWORKMANAGERQT_BLUETOOTH_DEVICE_P_H
0008 #define NETWORKMANAGERQT_BLUETOOTH_DEVICE_P_H
0009 
0010 #include "dbus/bluetoothdeviceinterface.h"
0011 #include "modemdevice_p.h"
0012 
0013 namespace NetworkManager
0014 {
0015 class BluetoothDevicePrivate : public ModemDevicePrivate
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit BluetoothDevicePrivate(const QString &path, BluetoothDevice *q);
0020     OrgFreedesktopNetworkManagerDeviceBluetoothInterface btIface;
0021     BluetoothDevice::Capabilities btCapabilities;
0022     QString hardwareAddress;
0023     QString name;
0024 
0025     Q_DECLARE_PUBLIC(BluetoothDevice)
0026 protected:
0027     /**
0028      * When subclassing make sure to call the parent class method
0029      * if the property was not useful to your new class
0030      */
0031     void propertyChanged(const QString &property, const QVariant &value) override;
0032 };
0033 
0034 }
0035 #endif // NETWORKMANAGERQT__BLUETOOTH_DEVICE_P_H