<div dir="ltr"><div>Hi,<br><br></div>I'm confused about the correct naming for this possibly duplicated functions:<br><br><div><br></div><div>In the base class QgsDataProvider, we have and empty (returns 0):<br>virtual uint subLayerCount() const<br clear="all"></div><div><br></div><div>but, in the providers code we have a mix of layerCount and subLayersCount, the former is not virtual.<br><br></div><div>IMHO, we should use the base class virtual subLayersCount and rename all the providers layerCount to override the subLayersCount.<br><br><br><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>