Zhao Yuhang
2024-01-01 b54e368f16e8bd977fe57fcc738fc6804af076e4
src/core/windowagentbase.h
@@ -1,3 +1,6 @@
// Copyright (C) 2023-2024 Stdware Collections
// SPDX-License-Identifier: Apache-2.0
#ifndef WINDOWAGENTBASE_H
#define WINDOWAGENTBASE_H
@@ -24,15 +27,11 @@
            Minimize,
            Maximize,
            Close,
            NumSystemButton,
        };
        Q_ENUM(SystemButton)
        QVariant windowAttribute(const QString &key) const;
        bool setWindowAttribute(const QString &key, const QVariant &attribute);
    Q_SIGNALS:
        void systemThemeChanged();
        Q_INVOKABLE bool setWindowAttribute(const QString &key, const QVariant &attribute);
    public Q_SLOTS:
        void showSystemMenu(const QPoint &pos); // Only available on Windows now