summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-01-05 10:09:33 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-01-05 10:09:33 (GMT)
commite715a7f4cfad454b9c966fa2938cbe9a92ce49fb (patch)
treeb8130e62e38b31d494aa97d81df91a8ed29aca65 /tests
parentd14ac9914753220e54f3b5cd94d122325d499776 (diff)
downloadQt-e715a7f4cfad454b9c966fa2938cbe9a92ce49fb.zip
Qt-e715a7f4cfad454b9c966fa2938cbe9a92ce49fb.tar.gz
Qt-e715a7f4cfad454b9c966fa2938cbe9a92ce49fb.tar.bz2
QScript: Lookup the native setter from the prototype
Usefull if we have 'native' properties with setter in a prototype This happen if you use a QObject wrapper as a prototype. Use getPropertyDescriptor that look up the prototype in order to know if we have a setter. Note that we cannot relly on PropertDescriptor::isAccessorDescriptor as the Getter or Setter attributes are not necesserly updated correctly when updating properties. (See the workaround QScriptValuePrivate::propertyFlags, and tst_QScriptValue::getSetProperty with object7) Task-number: QTBUG-5749 (also need the previous patch) Reviewed-by: Kent Hansen
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions