Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorDBus Namespace Reference

Classes

class  Client
 A lightweight, service-agnostic D-Bus method-call client. More...
 
struct  HasDBusStreaming
 Compile-time check that a type has QDBusArgument streaming operators. More...
 
struct  HasDBusStreaming< T, std::void_t< decltype(std::declval< QDBusArgument & >()<< std::declval< const T & >()), decltype(std::declval< const QDBusArgument & >() > > std::declval< T & >())> >
 
class  ObjectManager
 Service-agnostic observer for org.freedesktop.DBus.ObjectManager. More...
 

Typedefs

using InterfaceMap = QMap< QString, QVariantMap >
 One D-Bus object's interfaces as reported by ObjectManager: a map of interface name → that interface's property dict.
 

Functions

PHOSPHORDBUS_EXPORT const QLoggingCategory & lcPhosphorDBus ()
 Default logging category for PhosphorDBus helpers.
 

Typedef Documentation

◆ InterfaceMap

using PhosphorDBus::InterfaceMap = typedef QMap<QString, QVariantMap>

One D-Bus object's interfaces as reported by ObjectManager: a map of interface name → that interface's property dict.

This is the demarshalled a{sa{sv}} payload carried by GetManagedObjects and InterfacesAdded.

Function Documentation

◆ lcPhosphorDBus()

PHOSPHORDBUS_EXPORT const QLoggingCategory & PhosphorDBus::lcPhosphorDBus ( )

Default logging category for PhosphorDBus helpers.

A Client constructed without an explicit category logs call failures here.