Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
QmlRegistration.h File Reference
#include <PhosphorServiceIconTheme/phosphorserviceicontheme_export.h>
#include <QtCore/qtconfigmacros.h>

Go to the source code of this file.

Namespaces

namespace  PhosphorServiceIconTheme

Functions

PHOSPHORSERVICEICONTHEME_EXPORT void PhosphorServiceIconTheme::registerQmlTypes ()
 Register the IconThemeResolver QML singleton under the Phosphor.Service.IconTheme module at version 1.0.
PHOSPHORSERVICEICONTHEME_EXPORT void PhosphorServiceIconTheme::installImageProvider (QQmlEngine *engine)
 Mount the icon image provider on engine under the URL scheme image://phosphor-service-icontheme/.
PHOSPHORSERVICEICONTHEME_EXPORT const char * PhosphorServiceIconTheme::imageProviderUrlHost ()
 Stable URL host segment for the image provider, exported so publishing call sites (StatusNotifierItemModel::iconUrlFor(), future per-icon publishers) can construct the URL without hard-coding the string.