diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-27 15:13:49 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-27 15:13:49 +1000 |
| commit | d4dde2c02de48a0a8d89662519f0bf22bdd570e1 (patch) | |
| tree | a3253cedaf8692ecf3009c5d368242112d74830d /plugin/src/Caelestia/Internal/sleepnotifier.hpp | |
| parent | services/hypr: lock keys ignore mods (diff) | |
| download | caelestia-shell-d4dde2c02de48a0a8d89662519f0bf22bdd570e1.tar.gz caelestia-shell-d4dde2c02de48a0a8d89662519f0bf22bdd570e1.tar.bz2 caelestia-shell-d4dde2c02de48a0a8d89662519f0bf22bdd570e1.zip | |
idlemonitor: handle logind lock/unlock
Fixes #705
Diffstat (limited to 'plugin/src/Caelestia/Internal/sleepnotifier.hpp')
| -rw-r--r-- | plugin/src/Caelestia/Internal/sleepnotifier.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugin/src/Caelestia/Internal/sleepnotifier.hpp b/plugin/src/Caelestia/Internal/sleepnotifier.hpp deleted file mode 100644 index aaa6c68..0000000 --- a/plugin/src/Caelestia/Internal/sleepnotifier.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <qobject.h> -#include <qqmlintegration.h> - -namespace caelestia::internal { - -class SleepNotifier : public QObject { - Q_OBJECT - QML_ELEMENT - -public: - explicit SleepNotifier(QObject* parent = nullptr); - -signals: - void aboutToSleep(); - void resumed(); - -private slots: - void handlePrepareForSleep(bool sleep); -}; - -} // namespace caelestia::internal |