From fabf86f75f7c048dfe07af6ca55c8309456e4f97 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 25 Feb 2024 19:36:52 -0800 Subject: [PATCH] fix(docs): fix incorrect docgen and add wayland module --- docs | 2 +- src/core/module.md | 7 ++++--- src/wayland/module.md | 7 +++++++ src/wayland/waylandlayershell.hpp | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 src/wayland/module.md diff --git a/docs b/docs index 94f07543..d603e3de 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 94f07543939dfe682bb382f6802cbe9ff3eea061 +Subproject commit d603e3de533c74248621943bc85034620f4ef8c7 diff --git a/src/core/module.md b/src/core/module.md index e55da91d..5d4cf265 100644 --- a/src/core/module.md +++ b/src/core/module.md @@ -6,10 +6,11 @@ headers = [ "reload.hpp", "shell.hpp", "variants.hpp", - "proxywindow.hpp", - "layershell.hpp", "region.hpp", + "proxywindow.hpp", "persistentprops.hpp", + "windowinterface.hpp", + "panelinterface.hpp", + "floatingwindow.hpp", ] ----- -The core types provided by QuickShell diff --git a/src/wayland/module.md b/src/wayland/module.md new file mode 100644 index 00000000..6abcee28 --- /dev/null +++ b/src/wayland/module.md @@ -0,0 +1,7 @@ +name = "QuickShell.Wayland" +description = "Wayland specific QuickShell types" +headers = [ + "layershell.hpp", + "waylandlayershell.hpp", +] +----- diff --git a/src/wayland/waylandlayershell.hpp b/src/wayland/waylandlayershell.hpp index c40a09de..2aff2237 100644 --- a/src/wayland/waylandlayershell.hpp +++ b/src/wayland/waylandlayershell.hpp @@ -18,7 +18,7 @@ class WaylandLayershell: public ProxyWindowBase { /// Similar to the class property of windows. Can be used to identify the window to external tools. /// /// Cannot be set after windowConnected. - Q_PROPERTY(QString namespace READ ns WRITE setNamespace); + Q_PROPERTY(QString namespace READ ns WRITE setNamespace NOTIFY namespaceChanged); /// The degree of keyboard focus taken. Defaults to `KeyboardFocus.None`. Q_PROPERTY(KeyboardFocus::Enum keyboardFocus READ keyboardFocus WRITE setKeyboardFocus NOTIFY keyboardFocusChanged);