From 1571d7b43228a0ed4347f681a16b2b23defccda9 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 27 12月 2023 03:52:03 +0800
Subject: [PATCH] Add doxygen documentations

---
 src/core/windowagentbase.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/core/windowagentbase.h b/src/core/windowagentbase.h
index 1f5e50a..6748ebc 100644
--- a/src/core/windowagentbase.h
+++ b/src/core/windowagentbase.h
@@ -5,7 +5,7 @@
 
 #include <QtCore/QObject>
 
-#include <QWKCore/qwkcoreglobal.h>
+#include <QWKCore/qwkglobal.h>
 
 namespace QWK {
 
@@ -24,14 +24,14 @@
             Minimize,
             Maximize,
             Close,
-            NumSystemButton,
         };
         Q_ENUM(SystemButton)
 
+        QVariant windowAttribute(const QString &key) const;
+        Q_INVOKABLE bool setWindowAttribute(const QString &key, const QVariant &attribute);
+
     public Q_SLOTS:
-        void showSystemMenu(const QPoint &pos);
-        void startSystemMove(const QPoint &pos);
-        void startSystemResize(Qt::Edges edges, const QPoint &pos);
+        void showSystemMenu(const QPoint &pos); // Only available on Windows now
         void centralize();
         void raise();
 

--
Gitblit v1.9.1