Skip to content

Commit 55a8d41

Browse files
committed
document parameters
1 parent 1875d4a commit 55a8d41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsaction.h

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class CORE_EXPORT QgsAction
5757
* \param description A human readable description string
5858
* \param command The action text. Its interpretation depends on the type
5959
* \param capture If this is set to true, the output will be captured when an action is run
60+
* \param enabledOnlyWhenEditable if true then action is only enable in editmode
6061
*/
6162
QgsAction( ActionType type, const QString &description, const QString &command, bool capture = false, bool enabledOnlyWhenEditable = false )
6263
: mType( type )
@@ -78,6 +79,7 @@ class CORE_EXPORT QgsAction
7879
* \param shortTitle A short string used to label user interface elements like buttons
7980
* \param actionScopes A set of scopes in which this action will be available
8081
* \param notificationMessage A particular message which reception will trigger the action
82+
* \param enabledOnlyWhenEditable if true then action is only enable in editmode
8183
*/
8284
QgsAction( ActionType type, const QString &description, const QString &action, const QString &icon, bool capture, const QString &shortTitle = QString(), const QSet<QString> &actionScopes = QSet<QString>(), const QString &notificationMessage = QString(), bool enabledOnlyWhenEditable = false )
8385
: mType( type )

0 commit comments

Comments
 (0)