Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
QmlRegistration.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include <PhosphorServiceIconTheme/phosphorserviceicontheme_export.h>
7
8#include <QtCore/qtconfigmacros.h>
9
10QT_BEGIN_NAMESPACE
11class QQmlEngine;
12QT_END_NAMESPACE
13
15
24PHOSPHORSERVICEICONTHEME_EXPORT void registerQmlTypes();
25
32PHOSPHORSERVICEICONTHEME_EXPORT void installImageProvider(QQmlEngine* engine);
33
39PHOSPHORSERVICEICONTHEME_EXPORT const char* imageProviderUrlHost();
40
41} // namespace PhosphorServiceIconTheme
Definition IconImageProvider.h:14
PHOSPHORSERVICEICONTHEME_EXPORT void installImageProvider(QQmlEngine *engine)
Mount the icon image provider on engine under the URL scheme image://phosphor-service-icontheme/.
PHOSPHORSERVICEICONTHEME_EXPORT void registerQmlTypes()
Register the IconThemeResolver QML singleton under the Phosphor.Service.IconTheme module at version 1...
PHOSPHORSERVICEICONTHEME_EXPORT const char * imageProviderUrlHost()
Stable URL host segment for the image provider, exported so publishing call sites (StatusNotifierItem...