ported to QgsFeature API v2