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