Sine Striker
2023-12-19 2ccafcb1d891ed0fff4cc85729ca1faf5b7f1c96
src/widgets/widgetwindowagent_p.h
@@ -1,6 +1,15 @@
#ifndef WIDGETWINDOWAGENTPRIVATE_H
#define WIDGETWINDOWAGENTPRIVATE_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/private/windowagentbase_p.h>
#include <QWKWidgets/widgetwindowagent.h>
@@ -16,11 +25,13 @@
        // Host
        QWidget *hostWidget{};
#ifdef Q_OS_MAC
        QWidget *systemButtonAreaWidget{};
        std::unique_ptr<QObject> systemButtonAreaWidgetEventFilter;
#endif
#ifdef Q_OS_WINDOWS
        void setupWindows10BorderWorkaround();
#elif defined(Q_OS_MACOS)
        void setupMacOSTitleBar(QWidget *titleBar);
#endif
    };