summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptvalue_p.h
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-02-18 13:23:42 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-02-18 16:36:12 (GMT)
commit8e0a364f7baed4bbc7ff711be2a15692a40c3e93 (patch)
tree52f03614aa7b33912ae283053703d7898f6ac971 /src/script/api/qscriptvalue_p.h
parentaf4ccb478650b7efd5de3d81439173cd31931bd2 (diff)
downloadQt-8e0a364f7baed4bbc7ff711be2a15692a40c3e93.zip
Qt-8e0a364f7baed4bbc7ff711be2a15692a40c3e93.tar.gz
Qt-8e0a364f7baed4bbc7ff711be2a15692a40c3e93.tar.bz2
Move property helper functions to QScriptEnginePrivate
More preparation for operating purely on JSC::JSValue internally. Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'src/script/api/qscriptvalue_p.h')
-rw-r--r--src/script/api/qscriptvalue_p.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/script/api/qscriptvalue_p.h b/src/script/api/qscriptvalue_p.h
index 76fbc18..dedc250 100644
--- a/src/script/api/qscriptvalue_p.h
+++ b/src/script/api/qscriptvalue_p.h
@@ -89,14 +89,16 @@ public:
return q.d_ptr->engine;
}
- inline QScriptValue property(const JSC::Identifier &id, int resolveMode) const;
- QScriptValue propertyHelper(const JSC::Identifier &id, int resolveMode) const;
- inline QScriptValue property(quint32 index, int resolveMode) const;
- QScriptValue propertyHelper(quint32, int resolveMode) const;
- inline QScriptValue property(const QString &, int resolveMode) const;
- void setProperty(const JSC::Identifier &id, const QScriptValue &value,
- const QScriptValue::PropertyFlags &flags);
- QScriptValue::PropertyFlags propertyFlags(
+ inline JSC::JSValue property(const JSC::Identifier &id, int resolveMode) const;
+ inline JSC::JSValue property(quint32 index, int resolveMode) const;
+ inline JSC::JSValue property(const QString &, int resolveMode) const;
+ inline void setProperty(const QString &name, const JSC::JSValue &value,
+ const QScriptValue::PropertyFlags &flags);
+ inline void setProperty(const JSC::Identifier &id, const JSC::JSValue &value,
+ const QScriptValue::PropertyFlags &flags);
+ inline void setProperty(quint32 index, const JSC::JSValue &value,
+ const QScriptValue::PropertyFlags &flags);
+ inline QScriptValue::PropertyFlags propertyFlags(
const JSC::Identifier &id, const QScriptValue::ResolveFlags &mode) const;
void detachFromEngine();