Namespaces | |
| namespace | StageKey |
| Field names of one entry in the idle ladder passed to IdleService::setStages. | |
Classes | |
| class | IdleService |
| Session idle-management host for Phosphor-based desktop shells. More... | |
Functions | |
| PHOSPHORSERVICEIDLE_EXPORT void | registerQmlTypes () |
| Register every PhosphorServiceIdle QML type under the Phosphor.Service.Idle module at version 1.0. | |
| PHOSPHORSERVICEIDLE_EXPORT void PhosphorServiceIdle::registerQmlTypes | ( | ) |
Register every PhosphorServiceIdle QML type under the Phosphor.Service.Idle 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.