From 51039917996909284fbc2d776a9b8f71fe5e6f9a Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周六, 02 12月 2023 17:43:17 +0800
Subject: [PATCH] wip

---
 src/core/windowitemdelegate.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/core/windowitemdelegate.h b/src/core/windowitemdelegate.h
index b24070b..9886fa5 100644
--- a/src/core/windowitemdelegate.h
+++ b/src/core/windowitemdelegate.h
@@ -9,7 +9,10 @@
 namespace QWK {
 
     class WindowItemDelegate {
+        Q_DISABLE_COPY(WindowItemDelegate)
+
     public:
+        WindowItemDelegate() = default;
         virtual ~WindowItemDelegate() = default;
 
     public:
@@ -19,6 +22,8 @@
         virtual bool isVisible(QObject *obj) const = 0;
     };
 
+    using WindowItemDelegatePtr = std::shared_ptr<WindowItemDelegate>;
+
 }
 
 #endif // WINDOWITEMDELEGATE_H

--
Gitblit v1.9.1