Skip to content

Commit

Permalink
More api break documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 16, 2016
1 parent f18d1c3 commit f5f2850
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
24 changes: 19 additions & 5 deletions doc/api_break.dox
Expand Up @@ -329,16 +329,30 @@ QgsAbstractGeometry {#qgis_api_break_3_0_QgsAbstractGeometry}
QgsActionManager {#qgis_api_break_3_0_QgsActionManager}
----------------

- doAction() no longer accepts a substitution map. Use expression context variables instead.
- The doAction() variant which takes a QgsFeature along has been removed. Use the expression context
variant instead.
- expandAction() has been removed. Use QgsExpression::replaceExpressionText() instead.
- setPythonExecute() was removed. Initialize QgsPythonRunner instead.
- `doAction()` no longer accepts a substitution map. Use expression context
variables instead.
- The `doAction()` variant which takes a QgsFeature along has been removed. Use
the expression context variant instead.
- `expandAction()` has been removed. Use
`QgsExpression::replaceExpressionText()` instead.
- `setPythonExecute()` was removed. Initialize `QgsPythonRunner` instead.
- `QgsActionManager::listActions()` has been renamed to `QgsActionManager::actions( actionScope )`.
- `QgsActionManager::removeAction()` takes an actions UUID instead of an index.
- `QgsActionManager::doAction()` takes an actions UUID instead of an index.
- `QgsActionManager::writeXml()` no longer takes a QDomDocument. The document is
extracted from the layerNode.
- `QgsActionManager::at()` has been removed. Use `QgsActionManager::action( id )`
to get an action by its UUID.
- `QgsActionManager::defaultAction()` works on a per-scope basis and with UUIDs
instead of indexes.


QgsAction {#qgis_api_break_3_0_QgsAction}
---------

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


QgsAdvancedDigitizingDockWidget {#qgis_api_break_3_0_QgsAdvancedDigitizingDockWidget}
Expand Down
1 change: 1 addition & 0 deletions src/gui/attributetable/qgsdualview.h
Expand Up @@ -353,6 +353,7 @@ class GUI_EXPORT QgsAttributeTableAction : public QAction
Q_OBJECT

public:

/**
* Create a new attribute table action.
*
Expand Down

0 comments on commit f5f2850

Please sign in to comment.