From 327055934009dc416be6234db8e4d26fab81fb80 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 摹曛, 21 12月 2023 23:21:28 +0800
Subject: [PATCH] Merge pull request #8 from stdware/stylesupport

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

diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp
index 28c9945..72b1229 100644
--- a/src/core/windowagentbase.cpp
+++ b/src/core/windowagentbase.cpp
@@ -50,30 +50,6 @@
 
     WindowAgentBase::~WindowAgentBase() = default;
 
-    QVariant WindowAgentBase::windowAttribute(const QString &key) const {
-        Q_D(const WindowAgentBase);
-        return d->context->windowAttribute(key);
-    }
-
-    void WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &var) {
-        Q_D(WindowAgentBase);
-        d->context->setWindowAttribute(key, var);
-    }
-
-    bool WindowAgentBase::isEnabled() const {
-        Q_D(const WindowAgentBase);
-        return d->context->isEnabled();
-    }
-
-    void WindowAgentBase::setEnabled(bool enabled) {
-        Q_D(WindowAgentBase);
-        if (enabled == d->context->isEnabled()) {
-            return;
-        }
-        d->context->setEnabled(enabled);
-        Q_EMIT enabledChanged(enabled);
-    }
-
     void WindowAgentBase::showSystemMenu(const QPoint &pos) {
         Q_D(WindowAgentBase);
         d->context->showSystemMenu(pos);

--
Gitblit v1.9.1