Skip to content

Commit 75aa726

Browse files
3nidsm-kuhn
authored andcommitted
listActions() method for attribute action
1 parent f365257 commit 75aa726

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/core/qgsattributeaction.sip

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ class QgsAttributeAction
8383
//! Removes all actions
8484
void clearActions();
8585

86+
//! List all actions
87+
const QList<QgsAction>& listActions();
88+
8689
//! Return the layer
8790
QgsVectorLayer *layer();
8891

src/core/qgsattributeaction.h

+3
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ class CORE_EXPORT QgsAttributeAction
135135
//! Removes all actions
136136
void clearActions() { mActions.clear(); }
137137

138+
//! List all actions
139+
const QList<QgsAction>& listActions() { return mActions; }
140+
138141
//! Return the layer
139142
QgsVectorLayer *layer() { return mLayer; }
140143

0 commit comments

Comments
 (0)