forked from quickshell/quickshell
feat(slock): add user facing SessionLock and SessionLockSurface
This commit is contained in:
parent
1fa87b7c5a
commit
48bdcf4db2
10 changed files with 458 additions and 14 deletions
|
@ -13,7 +13,7 @@ class SessionLockManager: public QObject {
|
|||
Q_OBJECT;
|
||||
|
||||
public:
|
||||
SessionLockManager(QObject* parent = nullptr): QObject(parent) {}
|
||||
explicit SessionLockManager(QObject* parent = nullptr): QObject(parent) {}
|
||||
Q_DISABLE_COPY_MOVE(SessionLockManager);
|
||||
|
||||
// Returns true if a lock was acquired.
|
||||
|
@ -57,7 +57,7 @@ class LockWindowExtension: public QObject {
|
|||
Q_OBJECT;
|
||||
|
||||
public:
|
||||
LockWindowExtension(QObject* parent = nullptr): QObject(parent) {}
|
||||
explicit LockWindowExtension(QObject* parent = nullptr): QObject(parent) {}
|
||||
~LockWindowExtension() override;
|
||||
|
||||
// Attach this lock extension to the given window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue