Sine Striker
2023-12-17 52a662ed17db6c3a3ff2050d61bc2e06ea21b056
src/widgets/widgetwindowagent_p.h
@@ -1,15 +1,13 @@
#ifndef WIDGETWINDOWAGENTPRIVATE_H
#define WIDGETWINDOWAGENTPRIVATE_H
#include <QWKCore/private/corewindowagent_p.h>
#include <QWKCore/private/windowagentbase_p.h>
#include <QWKWidgets/widgetwindowagent.h>
namespace QWK {
    class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate {
        Q_DISABLE_COPY(WidgetWindowAgentPrivate)
    class WidgetWindowAgentPrivate : public WindowAgentBasePrivate {
        Q_DECLARE_PUBLIC(WidgetWindowAgent)
    public:
        WidgetWindowAgentPrivate();
        ~WidgetWindowAgentPrivate();
@@ -17,9 +15,17 @@
        void init();
        // Host
        QWidget *host{};
        QWidget *hostWidget{};
#ifdef Q_OS_MAC
        QWidget *systemButtonAreaWidget{};
        std::unique_ptr<QObject> systemButtonAreaWidgetEventFilter;
#endif
#ifdef Q_OS_WINDOWS
        void setupWindows10BorderWorkaround();
#endif
    };
}
#endif // WIDGETWINDOWAGENTPRIVATE_H
#endif // WIDGETWINDOWAGENTPRIVATE_H