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

Classes

class  MprisHost
class  MprisPlayer
class  MprisPlayerModel

Functions

PHOSPHORSERVICEMPRIS_EXPORT void registerQmlTypes ()
 Register every PhosphorServiceMpris QML type under the Phosphor.Service.Mpris module at version 1.0.

Function Documentation

◆ registerQmlTypes()

PHOSPHORSERVICEMPRIS_EXPORT void PhosphorServiceMpris::registerQmlTypes ( )

Register every PhosphorServiceMpris QML type under the Phosphor.Service.Mpris module at version 1.0.

Idempotent on repeat calls: internally guarded by std::call_once so a hot- reloading shell that builds a fresh QQmlEngine per reload can safely call this from every engine setup without triggering Qt's duplicate-registration warning.