diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 14:38:44 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 14:38:44 +1000 |
| commit | 306cfc06ed38a2f86616c1f2fe64de45321f21a6 (patch) | |
| tree | a27c79d9c4d01c2dadeeae74c844875ab7ab4eed /plugin/src/Caelestia/serviceref.hpp | |
| parent | popouts/tray: better interaction (diff) | |
| download | caelestia-shell-306cfc06ed38a2f86616c1f2fe64de45321f21a6.tar.gz caelestia-shell-306cfc06ed38a2f86616c1f2fe64de45321f21a6.tar.bz2 caelestia-shell-306cfc06ed38a2f86616c1f2fe64de45321f21a6.zip | |
plugin: refactor into modules
Diffstat (limited to 'plugin/src/Caelestia/serviceref.hpp')
| -rw-r--r-- | plugin/src/Caelestia/serviceref.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/plugin/src/Caelestia/serviceref.hpp b/plugin/src/Caelestia/serviceref.hpp deleted file mode 100644 index 072419e..0000000 --- a/plugin/src/Caelestia/serviceref.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include "service.hpp" -#include <qqmlintegration.h> - -namespace caelestia { - -class ServiceRef : public QObject { - Q_OBJECT - QML_ELEMENT - - Q_PROPERTY(Service* service READ service WRITE setService NOTIFY serviceChanged) - -public: - explicit ServiceRef(Service* service = nullptr, QObject* parent = nullptr); - ~ServiceRef(); - - [[nodiscard]] Service* service() const; - void setService(Service* service); - -signals: - void serviceChanged(); - -private: - Service* m_service; -}; - -} // namespace caelestia |