[Qgis-developer] QgisApp::getThemePixmap() should be in QgsApplication instead?

Martin Dobias wonder.sk at gmail.com
Mon Jul 16 10:41:59 PDT 2012


On Mon, Jul 16, 2012 at 7:24 PM, Etienne Tourigny
<etourigny.dev at gmail.com> wrote:
>> Do you want to keep QgisApp::getThemePixmap in 2.0 as deprecated or do
>> you want to deprecate it for a while and remove before 2.0 release?
>
> I would mark it as deprecated it for a time, but remove it entirely
> from qgisapp before 2.0 is released.

Given that QgisApp methods can be used only within QGIS application
sources (src/app folder), it is really sufficient to change all
occurrences of getThemePixmap() to use QgsApplication, no need to keep
it as deprecated.

In any case, we should not release 2.0 with deprecated methods / classes.

Regards
Martin


More information about the Qgis-developer mailing list