From 7610c3a509b8a04d25e72a6282d9c8ea8ecbd27f Mon Sep 17 00:00:00 2001 From: iveswang <1660583890@qq.com> Date: ćšć, 13 6æ 2024 14:09:06 +0800 Subject: [PATCH] fix: QObjectPrivate::threadData type change when qt >=5.15 --- src/core/windowitemdelegate_p.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/core/windowitemdelegate_p.h b/src/core/windowitemdelegate_p.h index 75bbf1e..47f2848 100644 --- a/src/core/windowitemdelegate_p.h +++ b/src/core/windowitemdelegate_p.h @@ -18,6 +18,7 @@ #include <QtCore/QPoint> #include <QtGui/QWindow> +#include <QWKCore/private/winidchangeeventfilter_p.h> #include <QWKCore/qwkglobal.h> namespace QWK { @@ -36,7 +37,6 @@ // Host property query virtual QWindow *hostWindow(const QObject *host) const = 0; - virtual bool isHostSizeFixed(const QObject *host) const = 0; virtual bool isWindowActive(const QObject *host) const = 0; virtual Qt::WindowStates getWindowState(const QObject *host) const = 0; virtual Qt::WindowFlags getWindowFlags(const QObject *host) const = 0; @@ -52,6 +52,10 @@ virtual void setGeometry(QObject *host, const QRect &rect) = 0; virtual void bringWindowToTop(QObject *host) const = 0; + // Factories + virtual WinIdChangeEventFilter * + createWinIdEventFilter(QObject *host, AbstractWindowContext *context) const; + private: Q_DISABLE_COPY(WindowItemDelegate) }; -- Gitblit v1.9.1