#include <PhosphorProtocol/ServiceConstants.h>
#include <PhosphorProtocol/phosphorprotocol_export.h>
#include <PhosphorDBus/Client.h>
#include <QDBusConnection>
#include <QDBusPendingCall>
#include <QDBusPendingCallWatcher>
#include <QDBusPendingReply>
#include <QLoggingCategory>
#include <QObject>
#include <QVariant>
#include <utility>
Go to the source code of this file.
|
| PHOSPHORPROTOCOL_EXPORT const QLoggingCategory & | PhosphorProtocol::lcPhosphorProtocol () |
| |
| PhosphorDBus::Client | PhosphorProtocol::daemonClient () |
| | A PhosphorDBus::Client bound to the PlasmaZones daemon.
|
| |
| void | PhosphorProtocol::ClientHelpers::fireAndForget (QObject *parent, const QString &interface, const QString &method, const QVariantList &args, const QString &logContext={}) |
| | Fire-and-forget async call to the daemon, with error logging.
|
| |
| void | PhosphorProtocol::ClientHelpers::sendOneWay (const QString &interface, const QString &method, const QVariantList &args={}) |
| | One-way notification to the daemon with no expected reply.
|
| |
| QDBusPendingCall | PhosphorProtocol::ClientHelpers::asyncCall (const QString &interface, const QString &method, const QVariantList &args={}) |
| | Async method call to the daemon; caller attaches its own watcher.
|
| |
| QDBusMessage | PhosphorProtocol::ClientHelpers::syncCall (const QString &interface, const QString &method, const QVariantList &args={}) |
| | Blocking daemon call bounded by Service::SyncCallTimeoutMs.
|
| |
| template<typename Fn > |
| void | PhosphorProtocol::ClientHelpers::loadSettingAsync (QObject *parent, const QString &name, Fn &&onValue) |
| | Async helper for loading a single daemon setting.
|
| |