Classes | |
| class | DBusMenuModel |
| Flat model exposing ONE level of a com.canonical.dbusmenu tree at a time. More... | |
| class | StatusNotifierHost |
| The shell-side counterpart to StatusNotifierWatcher. More... | |
| class | StatusNotifierItem |
| One system-tray item. More... | |
| class | StatusNotifierItemModel |
| QAbstractListModel adapter over StatusNotifierHost::items(). More... | |
| class | TrayItems |
| Presentation policy over the StatusNotifierItemModel role contract. More... | |
Functions | |
| PHOSPHORSERVICESNI_EXPORT void | registerQmlTypes () |
| Register every PhosphorServiceSni QML type under the Phosphor.Service.Sni module at version 1.0. | |
| PHOSPHORSERVICESNI_EXPORT void PhosphorServiceSni::registerQmlTypes | ( | ) |
Register every PhosphorServiceSni QML type under the Phosphor.Service.Sni 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.
Called from the consuming binary (typically phosphor-shell/src/main.cpp) before any QQmlEngine loads a .qml file. The host application is also expected to install the icon image provider (via PhosphorServiceIconTheme::installImageProvider) before SNI publishes URLs to it.