From 5a0e5a9261c251dba54afb8cc0b6b32ae9d95510 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周二, 12 12月 2023 19:50:34 +0800 Subject: [PATCH] add theme win32 message --- src/core/contexts/qtwindowcontext.cpp | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index a9740f1..9baa24c 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -40,19 +40,21 @@ #endif } - QtWindowContext::QtWindowContext(QWindow *window, WindowItemDelegate *delegate) - : AbstractWindowContext(window, delegate) { + QtWindowContext::QtWindowContext() : AbstractWindowContext() { } QtWindowContext::~QtWindowContext() { } - bool QtWindowContext::setup() { - return false; + QString QtWindowContext::key() const { + return QStringLiteral("qt"); } - bool QtWindowContext::eventFilter(QObject *obj, QEvent *event) { - return AbstractWindowContext::eventFilter(obj, event); + void QtWindowContext::virtual_hook(int id, void *data) { + } + + bool QtWindowContext::setupHost() { + return false; } } \ No newline at end of file -- Gitblit v1.9.1