6#include <phosphorwayland_export.h>
45 Q_PROPERTY(
bool locked READ isLocked NOTIFY lockedChanged)
88 std::unique_ptr<Private> d;
Client-side wrapper around ext_session_lock_manager_v1 / ext_session_lock_v1.
Definition SessionLock.h:42
bool isLocked() const
True between locked() and unlockAndDestroy() (or a compositor-driven finished()).
void unlockAndDestroy()
Release the lock after a successful authentication: sends unlock_and_destroy and flushes.
void locked()
The session is now locked; this client owns the lock and must call unlockAndDestroy() to release it.
SessionLock(QObject *parent=nullptr)
void lockedChanged()
isLocked() changed.
void finished()
The compositor will not (or will no longer) lock the session: the lock object has been torn down and ...
static bool isSupported()
True iff the compositor advertises ext_session_lock_manager_v1.
void lock()
Request that the session be locked.
Definition ClipboardDevice.h:15