Specialize for QJson types in the QObject meta-call binding
authorKent Hansen <kent.hansen@nokia.com>
Tue, 24 Apr 2012 16:22:06 +0000 (18:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Apr 2012 08:30:57 +0000 (10:30 +0200)
commitc0f07d5707180856bb2705359d780a836653188c
tree064157942515254938c2a47bd587fa26f911d06f
parent7e9fa5ad9c1786d8be5a422f94a44b2cd836aca6
Specialize for QJson types in the QObject meta-call binding

Avoid falling back to QVariant conversion; make the overload handling
consistent.

Also make the MaxSizeOf template helper class actually compute the
correct size needed for the argument storage.

Change-Id: I04afb378bd89743d542973cc3bb0ceb729b400d9
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/qml/qml/v8/qv8qobjectwrapper.cpp
tests/auto/qml/qqmlecmascript/testtypes.h
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp