Yuhang Zhao
2023-12-28 d61db440e1c757a656ec2ab91f0c2f39ccd5d5f3
src/widgets/widgetwindowagent.h
@@ -35,18 +35,12 @@
        void setHitTestVisible(const QWidget *w, bool visible = true);
    Q_SIGNALS:
        void titleBarWidgetChanged(const QWidget *w);
        void titleBarChanged(const QWidget *w);
        void systemButtonChanged(SystemButton button, const QWidget *w);
    protected:
        WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent = nullptr);
    };
    inline WidgetWindowAgent *QWK_Initialize(QWidget *w) {
        auto agent = new WidgetWindowAgent(w);
        agent->setup(w);
        return agent;
    }
}