diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-06 13:06:01 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-06 13:06:01 (GMT) |
commit | 3e6dbc962111228d9ff7a7afe11d69dabf97fff8 (patch) | |
tree | 8b634dc7a56eed10d4c3ebddf2c7105ab1f7054d /src/declarative/qml/qmlbindablevalue.h | |
parent | 6d4c3c7fe561d472b34bfed1ab9d3665cee1f659 (diff) | |
download | Qt-3e6dbc962111228d9ff7a7afe11d69dabf97fff8.zip Qt-3e6dbc962111228d9ff7a7afe11d69dabf97fff8.tar.gz Qt-3e6dbc962111228d9ff7a7afe11d69dabf97fff8.tar.bz2 |
Shift QmlBindableValue data into d-ptr
Diffstat (limited to 'src/declarative/qml/qmlbindablevalue.h')
-rw-r--r-- | src/declarative/qml/qmlbindablevalue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlbindablevalue.h b/src/declarative/qml/qmlbindablevalue.h index 578fc12..c4ef64a 100644 --- a/src/declarative/qml/qmlbindablevalue.h +++ b/src/declarative/qml/qmlbindablevalue.h @@ -56,6 +56,7 @@ QT_BEGIN_NAMESPACE QT_MODULE(Declarative) class QmlExpression; class QmlContext; +class QmlBindableValuePrivate; class Q_DECLARATIVE_EXPORT QmlBindableValue : public QmlPropertyValueSource, public QmlExpression { @@ -67,7 +68,7 @@ public: ~QmlBindableValue(); virtual void setTarget(const QmlMetaProperty &); - QmlMetaProperty property() const { return _property; } + QmlMetaProperty property() const; Q_CLASSINFO("DefaultProperty", "expression"); Q_PROPERTY(QString expression READ expression WRITE setExpression); @@ -82,8 +83,7 @@ protected: virtual void valueChanged(); private: - bool _inited; - QmlMetaProperty _property; + Q_DECLARE_PRIVATE(QmlBindableValue) }; QML_DECLARE_TYPE(QmlBindableValue); |