Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorShell::ShellGlobal Class Reference

#include <phosphor-shell/include/PhosphorShell/ShellGlobal.h>

Inheritance diagram for PhosphorShell::ShellGlobal:
[legend]

Signals

void screensChanged ()
 

Public Member Functions

 ShellGlobal (QObject *parent=nullptr)
 Desktop wallpaper image source for shader backgrounds.
 
 ~ShellGlobal () override
 
ScreenModelscreens () const
 
void setScreenModel (ScreenModel *model)
 
WallpaperServicewallpaper () const
 
QObject * singleton (const QString &reloadId) const
 
void registerSingleton (const QString &reloadId, PersistentProperties *props)
 
void clearSingletons ()
 

Constructor & Destructor Documentation

◆ ShellGlobal()

PhosphorShell::ShellGlobal::ShellGlobal ( QObject *  parent = nullptr)
explicit

Desktop wallpaper image source for shader backgrounds.

CONSTANT because the service itself is constructed in ShellGlobal's ctor and lives for the engine's lifetime — only its image property changes, and that has its own NOTIFY.

◆ ~ShellGlobal()

PhosphorShell::ShellGlobal::~ShellGlobal ( )
override

Member Function Documentation

◆ clearSingletons()

void PhosphorShell::ShellGlobal::clearSingletons ( )

◆ registerSingleton()

void PhosphorShell::ShellGlobal::registerSingleton ( const QString &  reloadId,
PersistentProperties props 
)

◆ screens()

ScreenModel * PhosphorShell::ShellGlobal::screens ( ) const

◆ screensChanged

void PhosphorShell::ShellGlobal::screensChanged ( )
signal

◆ setScreenModel()

void PhosphorShell::ShellGlobal::setScreenModel ( ScreenModel model)

◆ singleton()

QObject * PhosphorShell::ShellGlobal::singleton ( const QString &  reloadId) const

◆ wallpaper()

WallpaperService * PhosphorShell::ShellGlobal::wallpaper ( ) const

The documentation for this class was generated from the following file: