Add support for Q_ENUMS access via the web channel.
authorMilian Wolff <milian.wolff@kdab.com>
Mon, 18 Mar 2013 16:41:05 +0000 (17:41 +0100)
committerMilian Wolff <milian.wolff@kdab.com>
Mon, 18 Mar 2013 16:41:05 +0000 (17:41 +0100)
commit46cef952a1f9454ea26edd027756c271243bbcba
treee201a4337d102ea72f155a5746c4965ce013749f
parentfab99a1e30ec3b12e3407dfc150d86a6b3413020
Add support for Q_ENUMS access via the web channel.

Enums that are marked by Q_ENUMS in a Q_OBJECT or Q_GADGET are thus
accessible in JavaScript via obj.EnumName.EnumKey.
src/qobject.js
src/qtmetaobjectpublisher.cpp