[Qgis-developer] Re: API 2.0

Martin Dobias wonder.sk at gmail.com
Mon Sep 12 08:28:25 EDT 2011


Hi Giuseppe

feel free to mark the such methods as deprecated - when we start
cleaning the API it will be handy.

Martin

On Mon, Sep 12, 2011 at 2:22 PM, Giuseppe Sucameli
<brush.tyler at gmail.com> wrote:
> Also QgsRasterLayer::usesProvider() should be deprecated
> because file-based rasters use gdal provider now.
>
> On Mon, Sep 12, 2011 at 1:39 PM, Giuseppe Sucameli
> <brush.tyler at gmail.com> wrote:
>> Hi devs,
>> thinking to 2.0, we should uniform API by using the same name for these methods
>> QgsRasterLayer::providerKey() and QgsVectorLayer::providerType().
>>
>> I think is better to use providerType() for both them.
>> Cheers.
>>
>> --
>> Giuseppe Sucameli
>>
>
>
>
> --
> Giuseppe Sucameli
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>


More information about the Qgis-developer mailing list