aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-01-03 12:44:13 -0500
committerZackaryWelch <welch.zackary@gmail.com>2018-01-03 12:44:13 -0500
commitd0553003b9a1b73b164c8ee9348cc11ee8fb8304 (patch)
tree3a68b4973be42d2859a5dc06709261eff2a1bd60 /src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h
parentAdded some specific data for desktop plugins into the JSON reader (diff)
parentGet the DesktopSettings class automatically providing notifications about fil... (diff)
downloadlumina-d0553003b9a1b73b164c8ee9348cc11ee8fb8304.tar.gz
lumina-d0553003b9a1b73b164c8ee9348cc11ee8fb8304.tar.bz2
lumina-d0553003b9a1b73b164c8ee9348cc11ee8fb8304.zip
Merge branch 'master' of https://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h b/src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h
new file mode 100644
index 00000000..df681afa
--- /dev/null
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/DesktopManager.h
@@ -0,0 +1,44 @@
+//===========================================
+// Lumina-desktop source code
+// Copyright (c) 2017-2018, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+// This is the main class that updates the interface objects
+// on-demand as settings files and other stuff changes
+//===========================================
+#ifndef _LUMINA_DESKTOP_OBJECT_MANAGER_H
+#define _LUMINA_DESKTOP_OBJECT_MANAGER_H
+
+#include <global-includes.h>
+
+class DesktopManager : public QObject {
+ Q_OBJECT
+public:
+ DesktopManager();
+ ~DesktopManager();
+
+ void start();
+ void stop();
+
+private:
+ void updateWallpaper(QString screen_id, int wkspace);
+ void updatePanels(QString panel_id);
+ void updatePlugins(QString plugin_id);
+
+public slots:
+ void workspaceChanged(int);
+ void settingsChanged(DesktopSettings::File);
+
+private slots:
+ void updateDesktopSettings();
+ void updatePanelSettings();
+ void updatePluginSettings();
+ void updateMenuSettings();
+ void updateAnimationSettings();
+
+signals:
+ void PanelLocationsChanged(); //reserved screen space changed
+};
+
+#endif
bgstack15