This commit is contained in:
Zacharias-Brohn
2026-03-12 10:04:27 +01:00
parent 401ccef90c
commit 851b78f0ff
17 changed files with 1347 additions and 64 deletions
@@ -0,0 +1,24 @@
#pragma once
#include <QObject>
#include <QVariantMap>
#include <QQmlEngine>
namespace ZShell::services {
class DesktopStateManager : public QObject {
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
public:
explicit DesktopStateManager(QObject *parent = nullptr);
Q_INVOKABLE void saveLayout(const QVariantMap& layout);
Q_INVOKABLE QVariantMap getLayout();
private:
QString getConfigFilePath() const;
};
} // namespace ZShell::services