Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorServiceLock Namespace Reference

Classes

class  IAuthenticator
 The credential-verification surface a lock UI (and the lock state machine) drives. More...
class  LockService
 Session-lock + authentication host for Phosphor-based desktop shells. More...
class  PamAuthenticator
 IAuthenticator backed by PAM (pam_authenticate + pam_acct_mgmt). More...

Functions

PHOSPHORSERVICELOCK_EXPORT void registerQmlTypes ()
 Register every PhosphorServiceLock QML type under the Phosphor.Service.Lock module at version 1.0.

Function Documentation

◆ registerQmlTypes()

PHOSPHORSERVICELOCK_EXPORT void PhosphorServiceLock::registerQmlTypes ( )

Register every PhosphorServiceLock QML type under the Phosphor.Service.Lock 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.