6#include <PhosphorServiceBluetooth/phosphorservicebluetooth_export.h>
44 QObject* parent =
nullptr);
49 [[nodiscard]] QString
name()
const;
50 [[nodiscard]] QString
alias()
const;
88 void _q_onPropertiesChanged(
const QString& interfaceName,
const QVariantMap& changed,
89 const QStringList& invalidated);
94 std::unique_ptr<Private> d;
void startDiscovery()
Begin/end scanning for nearby devices (StartDiscovery / StopDiscovery).
void operationFinished(const QString &operation, const QString &errorName)
Completion of a write request; state follows BlueZ properties.
void discoverableChanged()
bool discoverable() const
BluetoothAdapter(QDBusConnection connection, const QString &dbusPath, const QVariantMap &initialProperties, QObject *parent=nullptr)
void setPowered(bool powered)
Power the adapter on/off (org.bluez.Adapter1.Powered).
void setDiscoverable(bool discoverable)
Toggle inbound discoverability (org.bluez.Adapter1.Discoverable).
void discoveringChanged()
~BluetoothAdapter() override
void removeDevice(const QString &devicePath)
Forget a device under this adapter (org.bluez.Adapter1.RemoveDevice), dropping its pairing/cache.
Definition BluetoothAdapter.h:16