From 306cfc06ed38a2f86616c1f2fe64de45321f21a6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 13 Sep 2025 14:38:44 +1000 Subject: plugin: refactor into modules --- plugin/src/Caelestia/serviceref.hpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 plugin/src/Caelestia/serviceref.hpp (limited to 'plugin/src/Caelestia/serviceref.hpp') 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 - -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 -- cgit v1.2.3-freya