Support unregistered Qt namespace enums in QML methods.
authorMichael Brasser <michael.brasser@nokia.com>
Fri, 16 Mar 2012 00:31:53 +0000 (10:31 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Mar 2012 00:10:52 +0000 (01:10 +0100)
commit16c192831164c9ed9a8a4601936bb32fdba645ac
treee823222a1824c76a3db2a3cbb915d6e1fa8417d6
parent37cd29b2ff024f27f84ef6214ff5403603d522f2
Support unregistered Qt namespace enums in QML methods.

This brings the support in line with signal handlers, which should allow
us to reuse the implementation there when appropriate. Also adds tests
for both registered and unregisted Qt namespace enums.

Change-Id: I366846626fc44d6d99b51e93fc9e3cb948c748f9
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/qqmlpropertycache.cpp
tests/auto/qml/qqmllanguage/data/globalEnums.qml
tests/auto/qml/qqmllanguage/testtypes.h
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp