From 345676a4a17cdb94e24d60eef88fad79c204fe5f Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 4 May 2022 10:43:03 +0000 Subject: [PATCH] Minor api doc improvement for api.kde.org --- metainfo.yaml | 14 ++++++++++++++ src/interfaces/window.h | 8 ++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 metainfo.yaml diff --git a/metainfo.yaml b/metainfo.yaml new file mode 100644 index 0000000..a1bcc58 --- /dev/null +++ b/metainfo.yaml @@ -0,0 +1,14 @@ +maintainer: +- vladz +description: Layer Shell Qt +platforms: + - name: Linux + - name: FreeBSD +portingAid: false +deprecated: false +release: true + +group: Plasma +public_lib: true +public_source_dirs: + - src/interfaces diff --git a/src/interfaces/window.h b/src/interfaces/window.h index 2410682..723cf7a 100644 --- a/src/interfaces/window.h +++ b/src/interfaces/window.h @@ -25,10 +25,10 @@ public: ~Window() override; enum Anchor { - AnchorTop = 1, // the top edge of the anchor rectangle - AnchorBottom = 2, // the bottom edge of the anchor rectangle - AnchorLeft = 4, // the left edge of the anchor rectangle - AnchorRight = 8, // the right edge of the anchor rectangle + AnchorTop = 1, ///< The top edge of the anchor rectangle + AnchorBottom = 2, ///< The bottom edge of the anchor rectangle + AnchorLeft = 4, ///< The left edge of the anchor rectangle + AnchorRight = 8, ///< The right edge of the anchor rectangle }; Q_ENUM(Anchor); Q_DECLARE_FLAGS(Anchors, Anchor)