#include <albert/action.h>
Action used by result items (Item).
|
QString | id |
| The identifier of the action.
|
|
QString | text |
| The description of the action.
|
|
std::function< void()> | function |
| The action function.
|
|
◆ Action()
albert::Action::Action |
( |
QString |
id, |
|
|
QString |
text, |
|
|
std::function< void()> |
function |
|
) |
| |
|
noexcept |
Action constructor.
- Parameters
-
id | Identifier of the action. |
text | Description of the action. |
function | The action function. |
◆ function
std::function<void()> albert::Action::function |
◆ id
QString albert::Action::id |
The identifier of the action.
◆ text
QString albert::Action::text |
The description of the action.
The documentation for this class was generated from the following file:
- workspace/albert/include/albert/action.h