Port away from deprecated QVariant::Type enum and related methods
Since the enum values are casted to the QMetaType version, the change should not change behavior
Since the enum values are casted to the QMetaType version, the change should not change behavior