2013/5/30 Sandro Santilli <[email protected]>

> On Thu, May 30, 2013 at 04:12:15PM +1000, Nathan Woodrow wrote:
>
> > If you are not aware of what benefits the SIP API update will bring here
> is
> > a quick example:
> >
> > Before:
> >
> > >>> str(yourlineedit.text().toString())
> > 'Hello World'
> > >>> feature["column"].toInt()[0]
> > 100
> >
> > After
> >
> > >>> yourlineedit.text()
> > 'Hello World'
> > >>> feature["column"]
> > 1000
> >
> > It will make life for us and plugin authors a hell of a lot easier.
>
> Plugin authors want to maintain support for multiple qgis versions,
> so changing an API is really only _more_ work, not _less_.
>
> Is there any facility to deal with that ?
>

Does the old way of doing it stop working? What I'm a bit  worried about is
that the result is 100 before and 1000 after, but I guess that's a typo?

It seems the code will be cleaner and more concise, that's certainly a good
thing.

Jo
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to