diff options
Diffstat (limited to 'src/corelib/kernel/qproperty.h')
-rw-r--r-- | src/corelib/kernel/qproperty.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/corelib/kernel/qproperty.h b/src/corelib/kernel/qproperty.h index 994eb24cea..986c6afbc9 100644 --- a/src/corelib/kernel/qproperty.h +++ b/src/corelib/kernel/qproperty.h @@ -99,17 +99,18 @@ public: UnknownError }; - QPropertyBindingError(Type type = NoError); + QPropertyBindingError(); + QPropertyBindingError(Type type, const QString &description = QString()); + QPropertyBindingError(const QPropertyBindingError &other); QPropertyBindingError &operator=(const QPropertyBindingError &other); QPropertyBindingError(QPropertyBindingError &&other); QPropertyBindingError &operator=(QPropertyBindingError &&other); ~QPropertyBindingError(); + bool hasError() const { return d.get() != nullptr; } Type type() const; - void setDescription(const QString &description); QString description() const; - QPropertyBindingSourceLocation location() const; private: QSharedDataPointer<QPropertyBindingErrorPrivate> d; |