LeechCraft 0.6.70-18808-g3467692359
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::DBus::EndpointWithSignals Struct Reference

#include "async.h"

Inheritance diagram for LC::Util::DBus::EndpointWithSignals:
Collaboration diagram for LC::Util::DBus::EndpointWithSignals:

Public Member Functions

template<typename F>
bool Connect (const QString &name, F &&handler)
template<std::derived_from< QObject > Ctx, typename C, typename R, typename... Args>
requires std::derived_from<Ctx, C>
bool Connect (const QString &name, Ctx *ctx, R(C::*handler)(Args...))
Public Member Functions inherited from LC::Util::DBus::Endpoint
UTIL_DBUS_API AsyncReply< QVariant > GetRawProperty (const QString &property) const
UTIL_DBUS_API AsyncReply< QVariantMap > GetAllProperties () const
template<typename T>
Task< Either< QDBusError, T > > GetProperty (QString property) const
template<typename... Rets, typename... Args>
AsyncReply< Rets... > Call (const QString &method, Args &&... args) const

Public Attributes

std::unique_ptr< TypedSignalsTypedSignals_ {}
Public Attributes inherited from LC::Util::DBus::Endpoint
QString Service
QString Path
QString Interface
QDBusConnection Conn = QDBusConnection::sessionBus ()

Detailed Description

Definition at line 118 of file async.h.

Member Function Documentation

◆ Connect() [1/2]

template<std::derived_from< QObject > Ctx, typename C, typename R, typename... Args>
requires std::derived_from<Ctx, C>
bool LC::Util::DBus::EndpointWithSignals::Connect ( const QString & name,
Ctx * ctx,
R(C::* handler )(Args...) )
inline

Definition at line 132 of file async.h.

References Connect().

Here is the call graph for this function:

◆ Connect() [2/2]

template<typename F>
bool LC::Util::DBus::EndpointWithSignals::Connect ( const QString & name,
F && handler )
inline

Definition at line 123 of file async.h.

References TypedSignals_.

Referenced by Connect().

Here is the caller graph for this function:

Member Data Documentation

◆ TypedSignals_

std::unique_ptr<TypedSignals> LC::Util::DBus::EndpointWithSignals::TypedSignals_ {}

Definition at line 120 of file async.h.

Referenced by Connect().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18808.g3467692359-build/leechcraft-0.6.70-18808-g3467692359/src/util/dbus/async.h