Skip to content

Commit f5f2850

Browse files
committedNov 16, 2016
More api break documentation
1 parent f18d1c3 commit f5f2850

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed
 

‎doc/api_break.dox

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,16 +329,30 @@ QgsAbstractGeometry {#qgis_api_break_3_0_QgsAbstractGeometry}
329329
QgsActionManager {#qgis_api_break_3_0_QgsActionManager}
330330
----------------
331331

332-
- doAction() no longer accepts a substitution map. Use expression context variables instead.
333-
- The doAction() variant which takes a QgsFeature along has been removed. Use the expression context
334-
variant instead.
335-
- expandAction() has been removed. Use QgsExpression::replaceExpressionText() instead.
336-
- setPythonExecute() was removed. Initialize QgsPythonRunner instead.
332+
- `doAction()` no longer accepts a substitution map. Use expression context
333+
variables instead.
334+
- The `doAction()` variant which takes a QgsFeature along has been removed. Use
335+
the expression context variant instead.
336+
- `expandAction()` has been removed. Use
337+
`QgsExpression::replaceExpressionText()` instead.
338+
- `setPythonExecute()` was removed. Initialize `QgsPythonRunner` instead.
339+
- `QgsActionManager::listActions()` has been renamed to `QgsActionManager::actions( actionScope )`.
340+
- `QgsActionManager::removeAction()` takes an actions UUID instead of an index.
341+
- `QgsActionManager::doAction()` takes an actions UUID instead of an index.
342+
- `QgsActionManager::writeXml()` no longer takes a QDomDocument. The document is
343+
extracted from the layerNode.
344+
- `QgsActionManager::at()` has been removed. Use `QgsActionManager::action( id )`
345+
to get an action by its UUID.
346+
- `QgsActionManager::defaultAction()` works on a per-scope basis and with UUIDs
347+
instead of indexes.
348+
337349

338350
QgsAction {#qgis_api_break_3_0_QgsAction}
339351
---------
340352

341353
- `QgsAction::action()` has been renamed to `QgsAction::command()`.
354+
- `QgsAction::showInAttributeTable()` has been removed. Use
355+
`QgsAction::actionScopes()` instead and check for the 'Feature' scope.
342356

343357

344358
QgsAdvancedDigitizingDockWidget {#qgis_api_break_3_0_QgsAdvancedDigitizingDockWidget}

‎src/gui/attributetable/qgsdualview.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ class GUI_EXPORT QgsAttributeTableAction : public QAction
353353
Q_OBJECT
354354

355355
public:
356+
356357
/**
357358
* Create a new attribute table action.
358359
*

0 commit comments

Comments
 (0)
Please sign in to comment.