SineStriker
2023-12-27 88b5b56b6a67d93208eae3980af2f30da09dd8ae
src/widgets/widgetwindowagent_p.h
@@ -1,12 +1,22 @@
#ifndef WIDGETWINDOWAGENTPRIVATE_H
#define WIDGETWINDOWAGENTPRIVATE_H
#include <QWKCore/private/corewindowagent_p.h>
//
//  W A R N I N G !!!
//  -----------------
//
// This file is not part of the QWindowKit API. It is used purely as an
// implementation detail. This header file may change from version to
// version without notice, or may even be removed.
//
#include <QWKCore/qwkconfig.h>
#include <QWKCore/private/windowagentbase_p.h>
#include <QWKWidgets/widgetwindowagent.h>
namespace QWK {
    class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate {
    class WidgetWindowAgentPrivate : public WindowAgentBasePrivate {
        Q_DECLARE_PUBLIC(WidgetWindowAgent)
    public:
        WidgetWindowAgentPrivate();
@@ -15,9 +25,19 @@
        void init();
        // Host
        QWidget *host{};
        QWidget *hostWidget{};
#ifdef Q_OS_MAC
        QWidget *systemButtonAreaWidget{};
        std::unique_ptr<QObject> systemButtonAreaWidgetEventFilter;
#endif
#if defined(Q_OS_WINDOWS) && QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDERS)
        void setupWindows10BorderWorkaround();
        std::unique_ptr<QObject> borderHandler;
#endif
    };
}
#endif // WIDGETWINDOWAGENTPRIVATE_H
#endif // WIDGETWINDOWAGENTPRIVATE_H