Skip to content

Instantly share code, notes, and snippets.

View m-kuhn's full-sized avatar
💡

Matthias Kuhn m-kuhn

💡
View GitHub Profile
@m-kuhn
m-kuhn / pyqgis-sip2.rst
Last active December 18, 2015 07:29 — forked from NathanW2/pyqgis-sip2.rst
Minor updates.
View pyqgis-sip2.rst

The QVariant type doesn't exist any more so any methods returning QVariant will be auto converted to Python types. You no longer need to convert the return type using the toXXXX methods.

Remove all:

toString()
toList()
toInt()
toFloat()
toStringList()
toByteArray()