diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-24 10:42:19 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-24 17:45:40 +0200 |
commit | ee6deafdb1848759d9233c37241eab4a50f2cdbf (patch) | |
tree | 82a18032d916ea86b38d87dfb84178785fbc5153 /src/qml/qml/qqmlboundsignal_p.h | |
parent | 56de8b41f24fda23eaba34dd6e034cf409966b17 (diff) |
Replace QQmlBoundSignalExpressionPointer with QQmlRefPointer
They do the same thing.
Change-Id: Ia35832e6175728e7480d09caba6d3833718d9e80
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal_p.h')
-rw-r--r-- | src/qml/qml/qqmlboundsignal_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlboundsignal_p.h b/src/qml/qml/qqmlboundsignal_p.h index 71a3e90b7f..d034d874df 100644 --- a/src/qml/qml/qqmlboundsignal_p.h +++ b/src/qml/qml/qqmlboundsignal_p.h @@ -54,7 +54,6 @@ #include <QtCore/qmetaobject.h> #include <private/qqmljavascriptexpression_p.h> -#include <private/qqmlboundsignalexpressionpointer_p.h> #include <private/qqmlnotifier_p.h> #include <private/qflagpointer_p.h> #include <private/qqmlrefcount_p.h> @@ -123,7 +122,7 @@ private: bool m_enabled; - QQmlBoundSignalExpressionPointer m_expression; + QQmlRefPointer<QQmlBoundSignalExpression> m_expression; }; class QQmlPropertyObserver : public QPropertyObserver @@ -132,7 +131,7 @@ public: QQmlPropertyObserver(QQmlBoundSignalExpression *expr); private: - QQmlBoundSignalExpressionPointer expression; + QQmlRefPointer<QQmlBoundSignalExpression> expression; }; QT_END_NAMESPACE |