Hi Worth, On Thu, 05. May 2016 at 12:57:10 -0400, Worth Lutz wrote: > When trying to convert to the suggested new methods, they seem to > not be available. > > for example: Q_DECL_DEPRECATED void QgsVectorLayer::setEditorWidgetV2 > suggests "Use editFormConfig()->setWidgetType() instead".
> The method, "editFormConfig", does not seem to be available in QGIS > v2.8 on my Ubuntu machine. setEditorWidgetV2 is not deprecated in 2.8 [0] it deprecated in 2.14 [1] and there editFormConfig() is available [2]. There should be a "added in" note - but that's apparently missing for editFormConfig(). Jürgen [0] http://qgis.org/api/2.8/classQgsVectorLayer.html#a05a33f4d4f9953571f680f6b18589559 [1] http://qgis.org/api/2.14/classQgsVectorLayer.html#a3ead0bb00ccad05b556a0602f48350bf [2] http://qgis.org/api/2.14/classQgsVectorLayer.html#ae89009b6dc6f544d19123a2f311acfe4 -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de
pgpRNnqs6Qsm0.pgp
Description: PGP signature
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
