listActions() method for attribute action

This commit is contained in:
Denis Rouzaud 2013-06-24 09:33:31 +02:00 committed by Matthias Kuhn
parent f365257e3f
commit 75aa7265e9
2 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,9 @@ class QgsAttributeAction
//! Removes all actions
void clearActions();
//! List all actions
const QList<QgsAction>& listActions();
//! Return the layer
QgsVectorLayer *layer();

View File

@ -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; }