Action

Search for usage in LXR

Action Class Reference

Inherits org::kde::kirigami::Action.

Properties

string actionName
 
Shortcut alternateShortcut
 
StatefulAppAbstractKirigamiApplication application
 

Detailed Description

A Kirigami.Action defined by a QAction.

import org.kde.kirigamiaddons.statefulapp as StatefulApp
StatefulApp.StatefulWindow {
application: MyKoolApp
ManagedApp.Action {
actionName: 'add_notebook'
application: MyKoolApp
}
}

{}

Since
KirigamiAddons 1.4.0

Definition at line 26 of file Action.qml.

Property Documentation

◆ actionName

string Action::actionName
read

This property holds the action name defined in your AbstractKirigamiApplication implementation.

Definition at line 31 of file Action.qml.

◆ alternateShortcut

Shortcut Action::alternateShortcut
read
Remarks
This property is read-only

Definition at line 48 of file Action.qml.

◆ application

StatefulAppAbstractKirigamiApplication Action::application
read

This property holds the AbstractKirigamiApplication where the action is defined.

Definition at line 35 of file Action.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 11:54:04 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.