fix obvious errors

 - enums are direct class members
 - url() is a class method
 - QVariant lives in QtCore