Skip to content
Permalink
Browse files

More api break documentation

  • Loading branch information
m-kuhn committed Nov 16, 2016
1 parent f18d1c3 commit f5f2850679ba5bcb7152b9f241a346eeb1750d26
Showing with 20 additions and 5 deletions.
  1. +19 −5 doc/api_break.dox
  2. +1 −0 src/gui/attributetable/qgsdualview.h
@@ -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}
@@ -353,6 +353,7 @@ class GUI_EXPORT QgsAttributeTableAction : public QAction
Q_OBJECT

public:

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

0 comments on commit f5f2850

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