From c77ab1212bd9a356ddeb03af6bb17c0bdf8ed955 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周一, 11 12月 2023 15:56:59 +0800
Subject: [PATCH] tweak quick API

---
 src/core/contexts/qtwindowcontext_p.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index 242dcd2..6c264d2 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -11,11 +11,11 @@
         QtWindowContext();
         ~QtWindowContext();
 
-    public:
-        bool setup(QObject *host, WindowItemDelegate *delegate) override;
+        QString key() const override;
+        void virtual_hook(int id, void *data) override;
 
     protected:
-        bool eventFilter(QObject *obj, QEvent *event) override;
+        bool setupHost() override;
     };
 
 }

--
Gitblit v1.9.1