From 9fc3c91388ae6f139813fbf700efc261b430b1d6 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周一, 11 12月 2023 14:58:06 +0800
Subject: [PATCH] Merge pull request #1 from stdware/qml

---
 src/widgets/widgetitemdelegate_p.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/widgets/widgetitemdelegate_p.h b/src/widgets/widgetitemdelegate_p.h
index 11d60fd..1056f35 100644
--- a/src/widgets/widgetitemdelegate_p.h
+++ b/src/widgets/widgetitemdelegate_p.h
@@ -15,15 +15,15 @@
         ~WidgetItemDelegate() override;
 
     public:
-        QWindow *window(QObject *obj) const override;
-        bool isEnabled(QObject *obj) const override;
-        bool isVisible(QObject *obj) const override;
+        QWindow *window(const QObject *obj) const override;
+        bool isEnabled(const QObject *obj) const override;
+        bool isVisible(const QObject *obj) const override;
         QRect mapGeometryToScene(const QObject *obj) const override;
 
-        QWindow * hostWindow(QObject *host) const override;
-        bool isHostSizeFixed(QObject *host) const override;
+        QWindow * hostWindow(const QObject *host) const override;
+        bool isHostSizeFixed(const QObject *host) const override;
 
-        bool resetQtGrabbedControl() const override;
+        void resetQtGrabbedControl() const override;
     };
 
 }

--
Gitblit v1.9.1