From 503d6461cde51aefeea73fc956264cbc815e9c14 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周三, 20 12月 2023 19:44:59 +0800 Subject: [PATCH] minor tweaks --- src/core/windowagentbase.h | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/core/windowagentbase.h b/src/core/windowagentbase.h index 1f5e50a..c252b9b 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 { @@ -28,10 +28,14 @@ }; Q_ENUM(SystemButton) + 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 startSystemMove(const QPoint &pos); - void startSystemResize(Qt::Edges edges, const QPoint &pos); void centralize(); void raise(); -- Gitblit v1.9.1