fix obvious errors
 - enums are direct class members
 - url() is a class method
 - QVariant lives in QtCore
Merge pull request #1 from frispete/master

fix obvious errors