From eda513356b8eb58b3069ddceb8c3dbc63c7fcdcd Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 17 12月 2023 15:58:49 +0800
Subject: [PATCH] Update resources

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

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index da3d640..107353a 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -5,19 +5,17 @@
 
 namespace QWK {
 
-    class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext {
+    class QtWindowContext : public AbstractWindowContext {
         Q_OBJECT
-        Q_DISABLE_COPY(QtWindowContext)
-
     public:
-        QtWindowContext(QWindow *window, WindowItemDelegatePtr delegate);
-        ~QtWindowContext();
+        QtWindowContext();
+        ~QtWindowContext() override;
 
-    public:
-        bool setup() 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