From 862cbfe3032b1f71977fb66af7bd87645ec3eeac Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 21 12æ 2023 23:27:04 +0800 Subject: [PATCH] minor tweaks --- src/core/windowagentbase.h | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/core/windowagentbase.h b/src/core/windowagentbase.h index 2524829..d377ba8 100644 --- a/src/core/windowagentbase.h +++ b/src/core/windowagentbase.h @@ -28,19 +28,10 @@ }; 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 showSystemMenu(const QPoint &pos); // Only available on Windows now void centralize(); void raise(); - - Q_SIGNALS: - void enabledChanged(bool enabled); protected: explicit WindowAgentBase(WindowAgentBasePrivate &d, QObject *parent = nullptr); -- Gitblit v1.9.1