From d4dde2c02de48a0a8d89662519f0bf22bdd570e1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 27 Sep 2025 15:13:49 +1000 Subject: idlemonitor: handle logind lock/unlock Fixes #705 --- plugin/src/Caelestia/Internal/sleepnotifier.hpp | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 plugin/src/Caelestia/Internal/sleepnotifier.hpp (limited to 'plugin/src/Caelestia/Internal/sleepnotifier.hpp') 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 -#include - -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 -- cgit v1.2.3-freya