Sine Striker
2023-12-21 2f59395b8183b1de62bd0ba83685298d9a7e3271
src/stylesupport/styleagent.h
@@ -19,12 +19,22 @@
        explicit StyleAgent(QObject *parent = nullptr);
        ~StyleAgent() override;
        enum SystemTheme {
            Unknown,
            Light,
            Dark,
            HighContrast,
        };
        Q_ENUM(SystemTheme)
    public:
        SystemTheme systemTheme() const;
        QVariant windowAttribute(QWindow *window, const QString &key) const;
        bool setWindowAttribute(QWindow *window, const QString &key, const QVariant &attribute);
    Q_SIGNALS:
        void systemThemeChanged();
        void systemThemeChanged(); // Do we need wallpaper change notify?
    protected:
        StyleAgent(StyleAgentPrivate &d, QObject *parent = nullptr);