diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-02 03:53:11 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-02 03:53:11 (GMT) |
commit | c0a7cfc6d205caf93bc46693ef4aca15fbcc36f8 (patch) | |
tree | 4d5e20eda722535e8f1c51935c9b2c7a7db39e84 /src/declarative/qml/qmlexpression_p.h | |
parent | d01db18696a7729b0d54af76f5224aed6750f3bb (diff) | |
download | Qt-c0a7cfc6d205caf93bc46693ef4aca15fbcc36f8.zip Qt-c0a7cfc6d205caf93bc46693ef4aca15fbcc36f8.tar.gz Qt-c0a7cfc6d205caf93bc46693ef4aca15fbcc36f8.tar.bz2 |
QmlContext tests
Diffstat (limited to 'src/declarative/qml/qmlexpression_p.h')
-rw-r--r-- | src/declarative/qml/qmlexpression_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression_p.h b/src/declarative/qml/qmlexpression_p.h index ea572c3..c6ba54d 100644 --- a/src/declarative/qml/qmlexpression_p.h +++ b/src/declarative/qml/qmlexpression_p.h @@ -72,8 +72,11 @@ public: QmlContext *context() const; void setContext(QmlContext *); + virtual void refresh(); + private: friend class QmlContext; + friend class QmlContextPrivate; QmlContext *m_context; QmlAbstractExpression **m_prevExpression; QmlAbstractExpression *m_nextExpression; @@ -152,6 +155,9 @@ public: static QmlExpressionPrivate *get(QmlExpression *expr) { return static_cast<QmlExpressionPrivate *>(QObjectPrivate::get(expr)); } + static QmlExpression *get(QmlExpressionPrivate *expr) { + return expr->q_func(); + } static void exceptionToError(QScriptEngine *, QmlError &); }; |