Skip to content

Commit

Permalink
listActions() method for attribute action
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and m-kuhn committed Sep 5, 2013
1 parent f365257 commit 75aa726
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/qgsattributeaction.sip
Expand Up @@ -83,6 +83,9 @@ class QgsAttributeAction
//! Removes all actions
void clearActions();

//! List all actions
const QList<QgsAction>& listActions();

//! Return the layer
QgsVectorLayer *layer();

Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsattributeaction.h
Expand Up @@ -135,6 +135,9 @@ class CORE_EXPORT QgsAttributeAction
//! Removes all actions
void clearActions() { mActions.clear(); }

//! List all actions
const QList<QgsAction>& listActions() { return mActions; }

//! Return the layer
QgsVectorLayer *layer() { return mLayer; }

Expand Down

0 comments on commit 75aa726

Please sign in to comment.