summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlobjectscriptclass_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-06 05:31:56 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-06 05:31:56 (GMT)
commit067b419199b369b6c81fa1ae387257aa87cab20c (patch)
tree20ef3dc7c3def67fd74117f50fdae3be054ee836 /src/declarative/qml/qmlobjectscriptclass_p.h
parent9e4b877430a6811079d209656587ea228334ed34 (diff)
downloadQt-067b419199b369b6c81fa1ae387257aa87cab20c.zip
Qt-067b419199b369b6c81fa1ae387257aa87cab20c.tar.gz
Qt-067b419199b369b6c81fa1ae387257aa87cab20c.tar.bz2
Improve scope handling
Diffstat (limited to 'src/declarative/qml/qmlobjectscriptclass_p.h')
-rw-r--r--src/declarative/qml/qmlobjectscriptclass_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlobjectscriptclass_p.h b/src/declarative/qml/qmlobjectscriptclass_p.h
index 6de63ca..3fcf009 100644
--- a/src/declarative/qml/qmlobjectscriptclass_p.h
+++ b/src/declarative/qml/qmlobjectscriptclass_p.h
@@ -63,6 +63,7 @@ QT_BEGIN_NAMESPACE
class QmlEngine;
class QScriptContext;
class QScriptEngine;
+class QmlContext;
class QmlObjectScriptClass : public QScriptDeclarativeClass
{
public:
@@ -76,7 +77,7 @@ public:
QScriptClass::QueryFlags queryProperty(QObject *, const Identifier &,
QScriptClass::QueryFlags flags,
- QueryMode = IncludeAttachedProperties);
+ QmlContext *evalContext);
QScriptValue property(QObject *, const Identifier &);
void setProperty(QObject *, const Identifier &name, const QScriptValue &);