http://qgis.org/api/classQGis.html#a8da456870e1caec209d8ba7502cceff7