diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-02 13:00:17 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-02 13:00:17 (GMT) |
commit | 5d3ae53770a0b6ba0ad8c3271f6fcda72179c68e (patch) | |
tree | 241cfb0df7a4c1dc5eaf14f66ae3b691306017d2 /src/script/api/qscriptengine.cpp | |
parent | c1ac464798858d9a5a3b98bc20f7ef2e98f2d1a1 (diff) | |
download | Qt-5d3ae53770a0b6ba0ad8c3271f6fcda72179c68e.zip Qt-5d3ae53770a0b6ba0ad8c3271f6fcda72179c68e.tar.gz Qt-5d3ae53770a0b6ba0ad8c3271f6fcda72179c68e.tar.bz2 |
first stab at implementing Qt property getter/setters
Not fully working yet, so disabled for now
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r-- | src/script/api/qscriptengine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp index 9849710..e8a2436 100644 --- a/src/script/api/qscriptengine.cpp +++ b/src/script/api/qscriptengine.cpp @@ -2241,6 +2241,12 @@ bool QScriptEnginePrivate::convert(const QScriptValue &value, return false; } +bool QScriptEnginePrivate::hasDemarshalFunction(int type) const +{ + QScriptTypeInfo *info = m_typeInfos.value(type); + return info && (info->demarshal != 0); +} + /*! \internal */ |