BluezQt
device.h
59 Q_PROPERTY(QList<GattServiceRemotePtr> gattServices READ gattServices NOTIFY gattServicesChanged)
599 BLUEZQT_NO_EXPORT explicit Device(const QString &path, const QVariantMap &properties, AdapterPtr adapter);
PendingCall * connectProfile(const QString &uuid)
Connects a specific profile of the device.
Definition device.cpp:287
void nameChanged(const QString &name)
Indicates that device's name have changed.
bool hasLegacyPairing() const
Returns whether the device has legacy pairing.
Definition device.cpp:121
PendingCall * setTrusted(bool trusted)
Sets the trusted state of the device.
Definition device.cpp:106
void modaliasChanged(const QString &modalias)
Indicates that device's modalias have changed.
QHash< QString, QByteArray > serviceData() const
Returns the service advertisement data.
Definition device.cpp:156
PendingCall * connectToDevice()
Connects all auto-connectable profiles of the device.
Definition device.cpp:277
PendingCall * setBlocked(bool blocked)
Sets the blocked state of the device.
Definition device.cpp:116
void deviceRemoved(DevicePtr device)
Indicates that the device was removed.
void trustedChanged(bool trusted)
Indicates that device's trusted state have changed.
PendingCall * disconnectProfile(const QString &uuid)
Disconnects a specific profile of the device.
Definition device.cpp:292
void mediaTransportChanged(MediaTransportPtr mediaTransport)
Indicates that device's media transport have changed.
void inputChanged(InputPtr input)
Indicates that device's input have changed.
static Device::Type stringToType(const QString &typeString)
Returns a device type for string.
Definition device.cpp:235
void blockedChanged(bool blocked)
Indicates that device's blocked state have changed.
void iconChanged(const QString &icon)
Indicates that device's icon have changed.
void mediaPlayerChanged(MediaPlayerPtr mediaPlayer)
Indicates that device's media player have changed.
void gattServicesChanged(QList< GattServiceRemotePtr > services)
Indicates that device GATT services list has changed.
void appearanceChanged(quint16 appearance)
Indicates that device's appearance have changed.
void legacyPairingChanged(bool legacyPairing)
Indicates that device's legacy pairing state have changed.
void friendlyNameChanged(const QString &friendlyName)
Indicates that device's friendly name have changed.
void gattServiceChanged(GattServiceRemotePtr service)
Indicates that at least one of the device's services have changed.
void serviceDataChanged(const QHash< QString, QByteArray > &serviceData)
Indicates that the device's service data has changed.
void remoteNameChanged(const QString &remoteName)
Indicates that device's remote name have changed.
void gattServiceRemoved(GattServiceRemotePtr service)
Indicates that a service was removed.
void connectedChanged(bool connected)
Indicates that device's connected state have changed.
void servicesResolvedChanged(bool servicesResolved)
Indicates that device's servicesResolved state have changed.
void pairedChanged(bool paired)
Indicates that device's paired state have changed.
void deviceClassChanged(quint32 deviceClass)
Indicates that device's class have changed.
static QString typeToString(Device::Type type)
Returns a string for device type.
Definition device.cpp:191
PendingCall * disconnectFromDevice()
Disconnects all connected profiles of the device.
Definition device.cpp:282
void batteryChanged(BatteryPtr battery)
Indicates that device's battery has changed.
void uuidsChanged(const QStringList &uuids)
Indicates that device's UUIDs have changed.
void gattServiceAdded(GattServiceRemotePtr service)
Indicates that a new service was added (eg.
void manufacturerDataChanged(ManData man)
Indicates that device's manufacturer data have changed.
bool isServicesResolved() const
Returns whether or not service discovery has been resolved.
Definition device.cpp:136
void deviceChanged(DevicePtr device)
Indicates that at least one of the device's properties have changed.
void addressChanged(const QString &address)
Indicates that device's address have changed.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.