Stop using deprecated QMetaType functions


Switch to new functions operating directly on QMetaType object, instead
of ints.

Change-Id: Ief0ba04f4447a5f891f8187cb0cf4250ce287311
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
commit400ed51643ea3ed30331b7a1c710489efae4d876
parent711abbcf7b1cf5d5cec497aca35dcbb18e4c1636
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
committerAllan Sandfeld Jensen <allan.jensen@qt.io>
commit timeMon, 21 Sep 2020 14:54:04 +0200