BluezQt
adapter.cpp
47 return new PendingCall(d->setDBusProperty(QStringLiteral("Alias"), name), PendingCall::ReturnVoid, this);
67 return new PendingCall(d->setDBusProperty(QStringLiteral("Powered"), powered), PendingCall::ReturnVoid, this);
77 return new PendingCall(d->setDBusProperty(QStringLiteral("Discoverable"), discoverable), PendingCall::ReturnVoid, this);
87 return new PendingCall(d->setDBusProperty(QStringLiteral("DiscoverableTimeout"), timeout), PendingCall::ReturnVoid, this);
97 return new PendingCall(d->setDBusProperty(QStringLiteral("Pairable"), pairable), PendingCall::ReturnVoid, this);
107 return new PendingCall(d->setDBusProperty(QStringLiteral("PairableTimeout"), timeout), PendingCall::ReturnVoid, this);
167 return new PendingCall(d->m_bluezAdapter->RemoveDevice(QDBusObjectPath(device->ubi())), PendingCall::ReturnVoid, this);
172 return new PendingCall(d->m_bluezAdapter->SetDiscoveryFilter(filter), PendingCall::ReturnVoid, this);
177 return new PendingCall(d->m_bluezAdapter->GetDiscoveryFilters(), PendingCall::ReturnStringList, this);
PendingCall * getDiscoveryFilters()
Get the discovery filters for the caller.
Definition adapter.cpp:175
bool isPairable() const
Returns whether the adapter is pairable with other devices.
Definition adapter.cpp:90
PendingCall * setPowered(bool powered)
Sets the powered state of the adapter.
Definition adapter.cpp:65
PendingCall * setPairable(bool pairable)
Sets the pairable state of the adapter.
Definition adapter.cpp:95
DevicePtr deviceForAddress(const QString &address) const
Returns a device for specified address.
Definition adapter.cpp:145
bool isDiscoverable() const
Returns whether the adapter is discoverable by other devices.
Definition adapter.cpp:70
PendingCall * setDiscoveryFilter(const QVariantMap &filter)
Set the discovery filter for the caller.
Definition adapter.cpp:170
GattManagerPtr gattManager() const
Returns the GATT manager interface for the adapter.
Definition adapter.cpp:125
PendingCall * setDiscoverable(bool discoverable)
Sets the discoverable state of the adapter.
Definition adapter.cpp:75
bool isDiscovering()
Returns whether the adapter is discovering for other devices.
Definition adapter.cpp:110
PendingCall * setDiscoverableTimeout(quint32 timeout)
Sets the discoverable timeout of the adapter.
Definition adapter.cpp:85
PendingCall * setPairableTimeout(quint32 timeout)
Sets the pairable timeout of the adapter.
Definition adapter.cpp:105
QString path(const QString &relativePath)
KGuiItem properties()
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.