[Qgis-developer] QgsMapLayer.getLayerID() ...
Jürgen E. Fischer
jef at norbit.de
Sun Feb 13 15:25:27 EST 2011
Hi Chris,
On Mon, 14. Feb 2011 at 08:18:47 +1300, Chris Crook wrote:
> Its just a little thing, but I'm just wondering if there is any feeling about
> the name of the QgsMapLayer.getLayerID() function, and whether it would be
> much better to just be called id().
> I find the existing name hard to remember, confusing in its capitalisation,
> and inconsistent with the general naming conventions (for example
> QgsFeature.id()).
> Is there any support for deprecating this member in favour of .id()? Or strong objection for that matter?
Right. Apparently that one was missed in the 1.0 API cleanup. Fixed in
r15168.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-developer
mailing list