Simplify QMetaTypeSwitcher.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Fri, 24 Feb 2012 13:27:01 +0000 (14:27 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 27 Feb 2012 12:19:00 +0000 (13:19 +0100)
commit6df396286a3221d12e810c0aaa71c4aa68db3331
tree2e3fa744863a46fba7171fc582ae15bd57652745
parent184c9e346e298bbda2cc8f30e2f318c1c11e4b13
Simplify QMetaTypeSwitcher.

We do not need to distinguish between different types in the switcher.

Before this patch it was not possible to overload
DelegateObject::delegate with a pointer type. Now it is fixed.

Change-Id: Icd73a53e73e5e66b1b6f6407ba4e0f79e584d930
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qmetatypeswitcher_p.h
src/corelib/kernel/qvariant_p.h