diff options
author | Andreas Hartmetz <andreas.hartmetz@kdab.com> | 2016-10-14 16:33:08 +0200 |
---|---|---|
committer | Volker Krause <volker.krause@kdab.com> | 2016-11-07 15:19:53 +0000 |
commit | 24fcb8f33477fef5364a2596abfaab66ba0addae (patch) | |
tree | 20ec5d837032eba811ab12f71cf9fe12e71c823a | |
parent | 738dcac18ca0c7f843659387177226c87ad08d55 (diff) |
Add private accessor for QIviPropertyPrivate from QIviProperty
Required for the override feature in the QtIVI Gammaray plugin.
Change-Id: I5dd4bd9a00249631158179be97a7a66d1c4ff4b0
Reviewed-by: Volker Krause <volker.krause@kdab.com>
-rw-r--r-- | src/ivicore/qiviproperty_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ivicore/qiviproperty_p.h b/src/ivicore/qiviproperty_p.h index 2039e65..da8ac92 100644 --- a/src/ivicore/qiviproperty_p.h +++ b/src/ivicore/qiviproperty_p.h @@ -57,11 +57,15 @@ QT_BEGIN_NAMESPACE +class QIviProperty; + class QIviPropertyPrivate { public: QIviPropertyPrivate(int userType, QtPrivate::QSlotObjectBase *attributeGetter, QtPrivate::QSlotObjectBase *valueGetter); + static QIviPropertyPrivate *get(QIviProperty *property) { return property->d_ptr; } + void throwError(QObject *object, const QString &error); int m_type; |