From a5d13e19dd7f6037e10b649c49805922ae5e0fa6 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周五, 22 12月 2023 17:04:29 +0800 Subject: [PATCH] Prepare to remove style support again --- src/core/windowagentbase.cpp | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index 72b1229..819dfb2 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -50,6 +50,16 @@ WindowAgentBase::~WindowAgentBase() = default; + QVariant WindowAgentBase::windowAttribute(const QString &key) const { + Q_D(const WindowAgentBase); + return d->context->windowAttribute(key); + } + + bool WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &attribute) { + Q_D(WindowAgentBase); + return d->context->setWindowAttribute(key, attribute); + } + void WindowAgentBase::showSystemMenu(const QPoint &pos) { Q_D(WindowAgentBase); d->context->showSystemMenu(pos); -- Gitblit v1.9.1