Skip to content
Permalink
Browse files

remove deprecated stuff from QgsVectorLayer and editor widgets

  • Loading branch information
jef-n committed Aug 10, 2016
1 parent 20c803b commit 39c4409c6a6a5dd766339dee54043004612e4fd3
Showing with 568 additions and 1,521 deletions.
  1. +10 −0 doc/api_break.dox
  2. +308 −365 python/core/qgsvectorlayer.sip
  3. +1 −1 python/plugins/processing/algs/qgis/ConcaveHull.py
  4. +1 −1 python/plugins/processing/algs/qgis/Eliminate.py
  5. +1 −1 python/plugins/processing/algs/qgis/RandomSelection.py
  6. +2 −2 python/plugins/processing/algs/qgis/RandomSelectionWithinSubsets.py
  7. +1 −1 python/plugins/processing/algs/qgis/SelectByAttribute.py
  8. +1 −1 python/plugins/processing/algs/qgis/SelectByAttributeSum.py
  9. +1 −1 python/plugins/processing/algs/qgis/SelectByLocation.py
  10. +2 −2 src/app/nodetool/qgsselectedfeature.cpp
  11. +8 −8 src/app/qgsapplayertreeviewmenuprovider.cpp
  12. +1 −1 src/app/qgsattributetabledialog.cpp
  13. +1 −16 src/app/qgsattributetypedialog.h
  14. +0 −36 src/app/qgsfieldsproperties.cpp
  15. +0 −5 src/app/qgsfieldsproperties.h
  16. +3 −6 src/app/qgsidentifyresultsdialog.cpp
  17. +1 −1 src/app/qgslayerstylingwidget.cpp
  18. +1 −1 src/app/qgsmaptoolpointsymbol.cpp
  19. +1 −1 src/app/qgsmaptoolselectutils.cpp
  20. +10 −8 src/app/qgsvectorlayerproperties.cpp
  21. +0 −2 src/core/CMakeLists.txt
  22. +1 −1 src/core/composer/qgscomposerlegenditem.cpp
  23. +3 −3 src/core/dxf/qgsdxfexport.cpp
  24. +9 −9 src/core/layertree/qgslayertreemodellegendnode.cpp
  25. +0 −318 src/core/qgslegacyhelpers.cpp
  26. +0 −40 src/core/qgslegacyhelpers.h
  27. +2 −2 src/core/qgsmaphittest.cpp
  28. +1 −1 src/core/qgsmaplayerlegend.cpp
  29. +1 −1 src/core/qgsmaprenderercustompainterjob.cpp
  30. +5 −5 src/core/qgsmapthemecollection.cpp
  31. +9 −3 src/core/qgsrelation.cpp
  32. +2 −2 src/core/qgstransactiongroup.cpp
  33. +5 −5 src/core/qgsvectorfilewriter.cpp
  34. +26 −134 src/core/qgsvectorlayer.cpp
  35. +14 −365 src/core/qgsvectorlayer.h
  36. +1 −1 src/core/qgsvectorlayercache.cpp
  37. +1 −1 src/core/qgsvectorlayerlabelprovider.cpp
  38. +24 −24 src/core/qgsvectorlayerrenderer.cpp
  39. +1 −1 src/core/qgsvectorlayerrenderer.h
  40. +1 −1 src/gui/attributetable/qgsattributetablefiltermodel.cpp
  41. +1 −26 src/gui/editorwidgets/core/qgseditorwidgetregistry.cpp
  42. +0 −11 src/gui/editorwidgets/core/qgseditorwidgetregistry.h
  43. +1 −1 src/gui/editorwidgets/qgsclassificationwidgetwrapper.cpp
  44. +1 −1 src/gui/qgsattributedialog.cpp
  45. +2 −2 src/gui/qgsfieldmodel.cpp
  46. +2 −2 src/gui/qgshighlight.cpp
  47. +1 −1 src/gui/qgsmaptoolidentify.cpp
  48. +10 −10 src/gui/symbology-ng/qgsrendererv2propertiesdialog.cpp
  49. +2 −2 src/plugins/globe/globe_plugin.cpp
  50. +1 −1 src/plugins/grass/qgsgrassplugin.cpp
  51. +1 −1 src/providers/virtual/qgsvirtuallayersqlitemodule.cpp
  52. +3 −3 src/server/qgssldconfigparser.cpp
  53. +1 −1 src/server/qgswmsconfigparser.cpp
  54. +1 −1 src/server/qgswmsprojectparser.cpp
  55. +9 −9 src/server/qgswmsserver.cpp
  56. +1 −1 tests/src/core/testmaprendererjob.cpp
  57. +1 −1 tests/src/core/testqgs25drenderer.cpp
  58. +1 −1 tests/src/core/testqgsatlascomposition.cpp
  59. +1 −1 tests/src/core/testqgscentroidfillsymbol.cpp
  60. +1 −1 tests/src/core/testqgscomposerdd.cpp
  61. +1 −1 tests/src/core/testqgsellipsemarker.cpp
  62. +1 −1 tests/src/core/testqgsfilledmarker.cpp
  63. +1 −1 tests/src/core/testqgsfontmarker.cpp
  64. +1 −1 tests/src/core/testqgsgradients.cpp
  65. +3 −3 tests/src/core/testqgslayertree.cpp
  66. +8 −8 tests/src/core/testqgslegendrenderer.cpp
  67. +1 −1 tests/src/core/testqgslinefillsymbol.cpp
  68. +9 −9 tests/src/core/testqgsmaplayerstylemanager.cpp
  69. +6 −6 tests/src/core/testqgspainteffect.cpp
  70. +1 −1 tests/src/core/testqgspointpatternfillsymbol.cpp
  71. +1 −1 tests/src/core/testqgsrasterfill.cpp
  72. +1 −1 tests/src/core/testqgsshapeburst.cpp
  73. +1 −1 tests/src/core/testqgssimplemarker.cpp
  74. +1 −1 tests/src/core/testqgssvgmarker.cpp
  75. +2 −2 tests/src/core/testqgssymbol.cpp
  76. +2 −2 tests/src/core/testqgsvectorlayer.cpp
  77. +1 −1 tests/src/python/test_provider_shapefile.py
  78. +5 −5 tests/src/python/test_qgsarrowsymbollayer.py
  79. +2 −2 tests/src/python/test_qgsatlascomposition.py
  80. +1 −1 tests/src/python/test_qgsattributetablemodel.py
  81. +1 −1 tests/src/python/test_qgscomposerlegend.py
  82. +7 −7 tests/src/python/test_qgsgeometrygeneratorsymbollayerv2.py
  83. +1 −1 tests/src/python/test_qgsnullsymbolrenderer.py
  84. +1 −1 tests/src/python/test_qgspallabeling_placement.py
  85. +1 −1 tests/src/python/test_qgsrulebasedrenderer.py
  86. +1 −1 tests/src/python/test_qgssinglesymbolrenderer.py
  87. +3 −3 tests/src/python/test_qgssymbolexpressionvariables.py
  88. +3 −3 tests/src/python/test_qgsvectorlayer.py
@@ -158,6 +158,8 @@ This page tries to maintain a list with incompatible changes that happened in pr
<tr><td>QgsVectorLayer<td>editorWidgetV2Config<td>editorWidgetConfig
<tr><td>QgsVectorLayer<td>editorWidgetV2Text<td>editorWidgetText
<tr><td>QgsVectorLayer<td>editorWidgetV2Type<td>editorWidgetType
<tr><td>QgsVectorLayer<td>deleteVertexV2<td>deleteVertex
<tr><td>QgsVectorLayer<td>rendererV2<td>renderer
</table>

\subsection qgis_api_break_3_0_removed_classes Removed Classes
@@ -175,6 +177,7 @@ should now call QgsCoordinateReferenceSystem::invalidateCache() and QgsCoordinat
<li>QgsMapRenderer. It has been replaced by QgsMapRendererJob with subclasses and QgsMapSettings.</li>
<li>QgsPseudoColorShader. This shader has been broken for some time and was replaced by QgsSingleBandPseudoColorRenderer.</li>
<li>QgsRendererV2DataDefinedMenus was removed. Use QgsDataDefinedButton instead.</li>
<li>QgsLegacyHelpers.</li>
</ul>

\subsection qgis_api_break_3_0_global General changes
@@ -832,6 +835,13 @@ displayExpression instead. For the map tip use mapTipTemplate() instead.</li>
<li>commitErrors() now returns an object, rather than a reference. This has no effect on PyQGIS code.</li>
<li>subsetString() was made const. This has no effect on PyQGIS code, but c++ code implementing derived layer classes will need to update the signature of this method to match.</li>
<li>label(), enableLabels(), hasLabelsEnabled(), drawLabels() have been removed. Replaced by labeling based on PAL library, see QgsLabelingEngineV2.</li>
<li>Signal layerDeleted() has been removed. Replaced by Qt signal destroyed().</li>
<li>Deprecated editor widget methods and enums and structs: struct RangeData, enum FeatureFormSuppress, enum EditType, addAttributeEditorWidget(), editorWidgetV2(), editorWidgetConfig(), attributeEditorElements(), editType(), setEditType(), editorLayout(), setEditorLayout, setEditorWidgetV2Config(), setCheckedState(), editForm(), setEditForm(), featureFormSuppress(), setFeatureFormSuppress(), editFormInit(), setEditFormInit(), valueMap(), range(), dateFormat(), fieldEditable(), labelOnTop(), setFieldEditable() and setLabelOnTop(). Use editFormConfig()</li>
<li>select() replaced by selectByRect()
<li>setSelectedFeatures() replaced by selectByIds()
<li>applyNamedStyle() replaced by applyNamedStyle()
<li>isReadOnly() use readOnly()
<li>Signal changeAttributeValue()
</ul>

\subsection qgis_api_break_3_0_QgsVectorLayerEditBuffer QgsVectorLayerEditBuffer

0 comments on commit 39c4409

Please sign in to comment.
You can’t perform that action at this time.