[QGIS-Developer] providers: layerCount or subLayersCount?
apasotti at gmail.com
Sat Aug 12 08:40:19 PDT 2017
I'm confused about the correct naming for this possibly duplicated
In the base class QgsDataProvider, we have and empty (returns 0):
virtual uint subLayerCount() const
but, in the providers code we have a mix of layerCount and subLayersCount,
the former is not virtual.
IMHO, we should use the base class virtual subLayersCount and rename all
the providers layerCount to override the subLayersCount.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the QGIS-Developer