BluezQt
leadvertisingmanager.cpp
24 d->m_bluezLEAdvertisingManager = new BluezLEAdvertisingManager(Strings::orgBluez(), path, DBusConnection::orgBluez(), this);
34 return new PendingCall(PendingCall::InternalError, QStringLiteral("LEAdvertisingManager not operational!"));
39 if (!DBusConnection::orgBluez().registerObject(advertisement->objectPath().path(), advertisement)) {
43 return new PendingCall(d->m_bluezLEAdvertisingManager->RegisterAdvertisement(advertisement->objectPath(), QVariantMap()), PendingCall::ReturnVoid, this);
51 return new PendingCall(PendingCall::InternalError, QStringLiteral("LEAdvertisingManager not operational!"));
56 return new PendingCall(d->m_bluezLEAdvertisingManager->UnregisterAdvertisement(advertisement->objectPath()), PendingCall::ReturnVoid, this);
Bluetooth LE advertisement.
virtual QDBusObjectPath objectPath() const
D-Bus object path of the advertisement.
Definition leadvertisement.cpp:22
Pending method call.
QString path(const QString &relativePath)
QString path() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.