Replace types with QS constants

QS 1.2.0+ compatibility
Bumped version to 1.7.2