summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptdeclarativeclass_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-01-14 04:18:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-01-14 04:18:55 (GMT)
commit87f9c823a96d693c95a7dd4d969b652891eb4fbe (patch)
tree679d9e42fac188975bfea7f551a726a4042bcb39 /src/script/bridge/qscriptdeclarativeclass_p.h
parent351060bd313220044b9323d59d56627e78deea9f (diff)
downloadQt-87f9c823a96d693c95a7dd4d969b652891eb4fbe.zip
Qt-87f9c823a96d693c95a7dd4d969b652891eb4fbe.tar.gz
Qt-87f9c823a96d693c95a7dd4d969b652891eb4fbe.tar.bz2
Support calling in QScriptDeclarativeClass
Diffstat (limited to 'src/script/bridge/qscriptdeclarativeclass_p.h')
-rw-r--r--src/script/bridge/qscriptdeclarativeclass_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptdeclarativeclass_p.h b/src/script/bridge/qscriptdeclarativeclass_p.h
index eb94390..aec70e1 100644
--- a/src/script/bridge/qscriptdeclarativeclass_p.h
+++ b/src/script/bridge/qscriptdeclarativeclass_p.h
@@ -111,6 +111,9 @@ public:
QScriptEngine *engine() const;
+ bool supportsCall() const;
+ void setSupportsCall(bool);
+
PersistentIdentifier createPersistentIdentifier(const QString &);
PersistentIdentifier createPersistentIdentifier(const Identifier &);
@@ -123,6 +126,7 @@ public:
virtual Value property(Object *, const Identifier &);
virtual void setProperty(Object *, const Identifier &name, const QScriptValue &);
virtual QScriptValue::PropertyFlags propertyFlags(Object *, const Identifier &);
+ virtual Value call(Object *, QScriptContext *);
virtual QStringList propertyNames(Object *);