mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
listActions() method for attribute action
This commit is contained in:
parent
f365257e3f
commit
75aa7265e9
@ -83,6 +83,9 @@ class QgsAttributeAction
|
||||
//! Removes all actions
|
||||
void clearActions();
|
||||
|
||||
//! List all actions
|
||||
const QList<QgsAction>& listActions();
|
||||
|
||||
//! Return the layer
|
||||
QgsVectorLayer *layer();
|
||||
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user