@@ -24,6 +24,76 @@ This page tries to maintain a list with incompatible changes that happened in pr
24
24
<li>QgsLabel and QgsLabelAttributes. Replaced by labeling based on PAL library, see QgsLabelingEngineV2.</li>
25
25
</ul>
26
26
27
+ \subsection qgis_api_break_3_0_global General changes
28
+
29
+ <ul>
30
+ <li>All setDestinationCRS() methods have been renamed to setDestinationCrs()</li>
31
+ <li>All destinationCRS() methods have been renamed to destinationCrs()</li>
32
+ <li>All readXML() and _readXML() methods have been renamed to readXml() and _readXml()</li>
33
+ <li>All writeXML() and _writeXML() methods have been renamed to writeXml() and _writeXml()</li>
34
+ <li>All setLayerID() methods have been renamed to setLayerId()</li>
35
+ <li>All layerID() methods have been renamed to layerId()</li>
36
+ <li>All setCRS() methods have been renamed to setCrs()</li>
37
+ <li>All srcCrs() methods have been renamed to sourceCrs()</li>
38
+ <li>All destCrs() methods have been renamed to destinationCrs()</li>
39
+ <li>All exportXML() methods have been renamed to exportXml()</li>
40
+ <li>All importXML() methods have been renamed to importXml()</li>
41
+
42
+ </ul>
43
+
44
+ \subsection qgis_api_break_3_0_QgsAuthConfigUriEdit QgsAuthConfigUriEdit
45
+
46
+ <ul>
47
+ <li>hasConfigID() has been renamed to hasConfigId()</li>
48
+ </ul>
49
+
50
+ \subsection qgis_api_break_3_0_QgsAtlasComposition QgsAtlasComposition
51
+
52
+ <ul>
53
+ <li>readXMLMapSettings() has been renamed to readXmlMapSettings()</li>
54
+ </ul>
55
+
56
+ \subsection qgis_api_break_3_0_QgsComposerLegendItem QgsComposerLegendItem
57
+
58
+ <ul>
59
+ <li>writeXMLChildren() has been renamed to writeXmlChildren()</li>
60
+ </ul>
61
+
62
+ \subsection qgis_api_break_3_0_QgsComposerMap QgsComposerMap
63
+
64
+ <ul>
65
+ <li>containsWMSLayer() has been renamed to containsWmsLayer()</li>
66
+ </ul>
67
+
68
+ \subsection qgis_api_break_3_0_QgsComposerNodesItem QgsComposerNodesItem
69
+
70
+ <ul>
71
+ <li>_readXMLStyle() has been renamed to _readXmlStyle()</li>
72
+ <li>_writeXMLStyle() has been renamed to _writeXMLStyle()</li>
73
+ </ul>
74
+
75
+ \subsection qgis_api_break_3_0_QgsComposerTable QgsComposerTable
76
+
77
+ <ul>
78
+ <li>tableWriteXML() has been renamed to tableWriteXml()</li>
79
+ <li>tableReadXML() has been renamed to tableReadXml()</li>
80
+ </ul>
81
+
82
+
83
+ \subsection qgis_api_break_3_0_QgsComposition QgsComposition
84
+
85
+ <ul>
86
+ <li>addItemsFromXML() has been renamed to addItemsFromXml()</li>
87
+ </ul>
88
+
89
+ \subsection qgis_api_break_3_0_QgsCoordinateReferenceSystem QgsCoordinateReferenceSystem
90
+
91
+ <ul>
92
+ <li>setCustomSrsValidation() has been renamed to setCustomCrsValidation()</li>
93
+ <li>saveAsUserCRS() has been renamed to saveAsUserCrs()</li>
94
+ <li>geographicCRSAuthId() has been renamed to geographicCrsAuthId()</li>
95
+ </ul>
96
+
27
97
\subsection qgis_api_break_3_0_QgsCoordinateTransform QgsCoordinateTransform
28
98
29
99
<ul>
@@ -50,13 +120,32 @@ plugins calling these methods will need to be updated.</li>
50
120
be returned in place of a null pointer.</li>
51
121
</ul>
52
122
123
+ \subsection qgis_api_break_3_0_QgsCptCitySelectionItem QgsCptCitySelectionItem
124
+
125
+ <ul>
126
+ <li>parseXML() has been renamed to parseXml()</li>
127
+ </ul>
128
+
129
+ \subsection qgis_api_break_3_0_QgsCRSCache QgsCRSCache
130
+
131
+ <ul>
132
+ <li>QgsCRSCache has been renamed to QgsCrsCache</li>
133
+ <li>updateCRSCache() has been renamed to updateCrsCache</li>
134
+ </ul>
135
+
53
136
\subsection qgis_api_break_3_0_QgsDataDefinedSymbolDialog QgsDataDefinedSymbolDialog
54
137
55
138
<ul>
56
139
<li>QgsDataDefinedSymbolDialog was removed. Code using this dialog should be reworked to use QgsDataDefinedButton
57
140
instead.</li>
58
141
</ul>
59
142
143
+ \subsection qgis_api_break_3_0_QgsDataItem QgsDataItem
144
+
145
+ <ul>
146
+ <li>supportedCRS() has been renamed to supportedCrs()</li>
147
+ </ul>
148
+
60
149
\subsection qgis_api_break_3_0_QgsDiagramLayerSettings QgsDiagramLayerSettings
61
150
62
151
<ul>
@@ -89,6 +178,12 @@ attributeIndexes(), pkAttributeIndexes(), isSaveAndLoadStyleToDBSupported()</li>
89
178
</li>
90
179
</ul>
91
180
181
+ \subsection qgis_api_break_3_0_QgsGroupWMSDataDialog QgsGroupWMSDataDialog
182
+
183
+ <ul>
184
+ <li>QgsGroupWMSDataDialo has been renamed to QgsGroupWmsDataDialog</li>
185
+ </ul>
186
+
92
187
\subsection qgis_api_break_3_0_DataProviders Data Providers
93
188
94
189
<ul>
@@ -97,6 +192,19 @@ objects are implicitly shared, returning a copy helps simplify and make code mor
97
192
only affects third party c++ providers, and does not affect PyQGIS scripts.</li>
98
193
</ul>
99
194
195
+ \subsection qgis_api_break_3_0_QgsLayerTreeGroup QgsLayerTreeGroup
196
+
197
+ <ul>
198
+ <li>readChildrenFromXML() has been renamed to readChildrenFromXml()</li>
199
+ </ul>
200
+
201
+ \subsection qgis_api_break_3_0_QgsLayerTreeNode QgsLayerTreeNode
202
+
203
+ <ul>
204
+ <li>readCommonXML() has been renamed to readCommonXml()</li>
205
+ <li>writeCommonXML() has been renamed to writeCommonXml()</li>
206
+ </ul>
207
+
100
208
\subsection qgis_api_break_3_0_QgsMapCanvas QgsMapCanvas
101
209
102
210
<ul>
@@ -121,13 +229,22 @@ screenUpdateRequested() were removed. These members have had no effect for a num
121
229
<li>The layerCrsChanged() signal was renamed to crsChanged()</li>
122
230
<li>theError parameter in appendError() and setError() were renamed to 'error'.</li>
123
231
<li>drawLabels() method was removed. It used old deprecated labeling. Replaced by labeling based on PAL library, see QgsLabelingEngineV2.</li>
232
+ <li>readLayerXML() was renamed to readLayerXml()</li>
233
+ <li>writeLayerXML() was renamed to writeLayerXml()</li>
234
+ </ul>
235
+
236
+ \subsection qgis_api_break_3_0_QgsMapOverviewCanvas QgsMapOverviewCanvas
237
+
238
+ <ul>
239
+ <li>destinationSrsChanged() was renamed to destinationCrsChanged()</li>
124
240
</ul>
125
241
126
242
\subsection qgis_api_break_3_0_QgsMapRenderer QgsMapRenderer
127
243
128
244
<ul>
129
245
<li>transformation() now returns a QgsCoordinateTransform object, not a pointer. An invalid QgsCoordinateTransform will
130
246
be returned instead of a null pointer if no transformation is required.</li>
247
+ <li>destinationSrsChanged() was renamed to destinationCrsChanged()</li>
131
248
</ul>
132
249
133
250
\subsection qgis_api_break_3_0_QgsMapRendererJob QgsMapRendererJob
@@ -146,6 +263,52 @@ be used instead of a null pointer if no transformation is required.</li>
146
263
be returned instead of a null pointer if no transformation is required.</li>
147
264
</ul>
148
265
266
+ \subsection qgis_api_break_3_0_QgsOSMElement QgsOSMElement
267
+
268
+ <ul>
269
+ <li>elemID() has been renamed to elemId()</li>
270
+ </ul>
271
+
272
+ \subsection qgis_api_break_3_0_QgsOWSSourceSelect QgsOWSSourceSelect
273
+
274
+ <ul>
275
+ <li>selectedLayersCRSs() has been renamed selectedLayersCrses()</li>
276
+ <li>populateCRS() has been renamed to populateCrs()</li>
277
+ <li>clearCRS() has been renamed to clearCrs()</li>
278
+ <li>addWMSListRow() has been renamed to addWmsListRow()</li>
279
+ <li>addWMSListItem() has been renamed to addWmsListItem()</li>
280
+ <li>selectedCRS() has been renamed to selectedCrs()</li>
281
+ </ul>
282
+
283
+ \subsection qgis_api_break_3_0_QgsOWSConnection QgsOWSConnection
284
+
285
+ <ul>
286
+ <li>QgsOWSConnection has been renamed QgsOwsConnection</li>
287
+ </ul>
288
+
289
+ \subsection qgis_api_break_3_0_QgsRasterDataProvider QgsRasterDataProvider
290
+
291
+ <ul>
292
+ <li>srcDataType() has been renamed to sourceDataType()</li>
293
+ <li>srcHasNoDataValue() has been renamed to sourceHasNoDataValue()</li>
294
+ <li>useSrcNoDataValue() has been renamed to useSourceNoDataValue()</li>
295
+ <li>setUseSrcNoDataValue() has been renamed to setUseSourceNoDataValue()</li>
296
+ <li>srcNoDataValue() has been renamed to sourceNoDataValue()</li>
297
+ </ul>
298
+
299
+ \subsection qgis_api_break_3_0_QgsRasterInterface QgsRasterInterface
300
+
301
+ <ul>
302
+ <li>srcDataType() has been renamed to sourceDataType()</li>
303
+ <li>srcInput() has been renamed to sourceInput()</li>
304
+ </ul>
305
+
306
+ \subsection qgis_api_break_3_0_QgsRelation QgsRelation
307
+
308
+ <ul>
309
+ <li>createFromXML() has been renamed to createFromXml()</li>
310
+ </ul>
311
+
149
312
\subsection qgis_api_break_3_0_QgsRenderContext QgsRenderContext
150
313
151
314
<ul>
@@ -169,6 +332,15 @@ be used instead of a null pointer if no transformation is required.</li>
169
332
plugins calling this method will need to be updated.</li>
170
333
</ul>
171
334
335
+ \subsection qgis_api_break_3_0_QgsVectorLayer QgsVectorLayer
336
+
337
+ <ul>
338
+ <li>excludeAttributesWMS() and setExcludeAttributesWMS() have been renamed to excludeAttributesWms() and
339
+ setExcludeAttributesWms()</li>
340
+ <li>excludeAttributesWFS() and setExcludeAttributesWFS() have been renamed to excludeAttributesWfs() and
341
+ setExcludeAttributesWfs()</li>
342
+ </ul>
343
+
172
344
\subsection qgis_api_break_3_0_QgsVectorLayerImport QgsVectorLayerImport
173
345
174
346
<ul>
@@ -183,7 +355,9 @@ in code which previously passed a null pointer to QgsVectorLayerImport.</li>
183
355
<ul>
184
356
<li>The constructor now takes a reference rather than a pointer to a CRS. This has no effect on PyQGIS code, but c++
185
357
plugins calling this method will need to be updated.</li>
186
- <li>destCrs() now returns a copy instead of a reference to the CRS. This has no effect on PyQGIS code, but c++
358
+ <li>The destCRS parameter in the constructor has been renamed to destinationCrs.</li>
359
+ <li>destCRS() has been renamed to destinationCrs()</li>
360
+ <li>destinationCrs() now returns a copy instead of a reference to the CRS. This has no effect on PyQGIS code, but c++
187
361
plugins calling this method will need to be updated.</li>
188
362
</ul>
189
363
@@ -248,6 +422,11 @@ and deletedFeatureIds() functions now return values, not references. This has no
248
422
plugins calling these methods will need to be updated.</li>
249
423
</ul>
250
424
425
+ \subsection qgis_api_break_3_0_QgsWMSLegendNode QgsWMSLegendNode
426
+
427
+ <ul>
428
+ <li>QgsWMSLegendNode has been renamed to QgsWmsLegendNode</li>
429
+ </ul>
251
430
252
431
253
432
\section qgis_api_break_2_4 QGIS 2.4
0 commit comments