diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-08-13 10:24:45 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-08-28 22:31:28 +0200 |
commit | 4294e82fe921105bfe137595394705f1c6b16904 (patch) | |
tree | 8fe0b2447c7a9e866cf4da00dd8c8da2b25142b4 /src/corelib/kernel/qpropertyprivate.h | |
parent | 9d2b43de19eebc836683e00ca0516a59cb6abe5d (diff) |
Add const to some methods
Change-Id: I60e93e0c9b57468ef4188bdb60a32fb9ac9046e1
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/corelib/kernel/qpropertyprivate.h')
-rw-r--r-- | src/corelib/kernel/qpropertyprivate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qpropertyprivate.h b/src/corelib/kernel/qpropertyprivate.h index ab8c96b17f..d5ee9f29c2 100644 --- a/src/corelib/kernel/qpropertyprivate.h +++ b/src/corelib/kernel/qpropertyprivate.h @@ -96,13 +96,13 @@ public: void *propertyDataPtr, void *staticObserver = nullptr, QPropertyObserverCallback staticObserverCallback = nullptr, QPropertyGuardFunction guardCallback = nullptr); - QPropertyBindingPrivate *binding(); + QPropertyBindingPrivate *binding() const; - void evaluateIfDirty(); + void evaluateIfDirty() const; void removeBinding(); void registerWithCurrentlyEvaluatingBinding() const; - void notifyObservers(void *propertyDataPtr); + void notifyObservers(void *propertyDataPtr) const; void setExtraBit(bool b) { |