API documentation for QgisInterface