From 8209cdfb1d85a40cc770f854d773c3a10f5ab576 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 20 12月 2023 17:32:57 +0800
Subject: [PATCH] Add hot-switch to agent

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

diff --git a/src/core/windowagentbase.h b/src/core/windowagentbase.h
index d5b02fa..c252b9b 100644
--- a/src/core/windowagentbase.h
+++ b/src/core/windowagentbase.h
@@ -31,6 +31,9 @@
         QVariant windowAttribute(const QString &key) const;
         void setWindowAttribute(const QString &key, const QVariant &var);
 
+        bool isEnabled() const;
+        void setEnabled(bool enabled);
+
     public Q_SLOTS:
         void showSystemMenu(const QPoint &pos);
         void centralize();

--
Gitblit v1.9.1