6#include <PhosphorShell/phosphorshell_export.h>
24class PersistentProperties;
36 Q_PROPERTY(
ScreenModel* screens READ screens NOTIFY screensChanged)
53 Q_INVOKABLE [[nodiscard]] QObject*
singleton(
const QString& reloadId)
const;
63 QPointer<ScreenModel> m_screens;
64 QHash<QString, QPointer<PersistentProperties>> m_singletons;
Definition PersistentProperties.h:14
Definition ScreenModel.h:25
Definition ShellGlobal.h:30
QObject * singleton(const QString &reloadId) const
ScreenModel * screens() const
void registerSingleton(const QString &reloadId, PersistentProperties *props)
void setScreenModel(ScreenModel *model)
ShellGlobal(QObject *parent=nullptr)
Desktop wallpaper image source for shader backgrounds.
WallpaperService * wallpaper() const
Asynchronous wallpaper-image source for shader backgrounds.
Definition WallpaperService.h:51
Definition Environment.h:11