aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeproperty_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-06-20 14:57:10 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2011-06-20 14:57:10 +1000
commitf60a61157cb361e19c50eb53391f18b82990a026 (patch)
treea357cc0c308c5ba922fb5c24760c8b5d20e5c32e /src/declarative/qml/qdeclarativeproperty_p.h
parent4266185d161be64926f43ed70b6ed2090fca17f1 (diff)
Optimize common binding writes
Diffstat (limited to 'src/declarative/qml/qdeclarativeproperty_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeproperty_p.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty_p.h b/src/declarative/qml/qdeclarativeproperty_p.h
index 4f53adb71c..efebf0ca48 100644
--- a/src/declarative/qml/qdeclarativeproperty_p.h
+++ b/src/declarative/qml/qdeclarativeproperty_p.h
@@ -63,8 +63,9 @@
QT_BEGIN_NAMESPACE
class QDeclarativeContext;
-class QDeclarativeEnginePrivate;
class QDeclarativeExpression;
+class QDeclarativeEnginePrivate;
+class QDeclarativeJavaScriptExpression;
class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativePropertyPrivate : public QDeclarativeRefCount
{
public:
@@ -131,6 +132,10 @@ public:
static QDeclarativeExpression *setSignalExpression(const QDeclarativeProperty &that,
QDeclarativeExpression *) ;
static bool write(const QDeclarativeProperty &that, const QVariant &, WriteFlags);
+ static bool writeBinding(const QDeclarativeProperty &that,
+ QDeclarativeJavaScriptExpression *expression,
+ v8::Handle<v8::Value> result, bool isUndefined,
+ WriteFlags flags);
static int valueTypeCoreIndex(const QDeclarativeProperty &that);
static int bindingIndex(const QDeclarativeProperty &that);
static QMetaMethod findSignalByName(const QMetaObject *mo, const QByteArray &);