#include <actions.h>
|
| | PriorityChangeAction (Model &model, std::vector< u64 > &&path, u16 new_priority) |
| | Parameterized constructor.
|
| virtual void | execute () override |
| | execute action.
|
| virtual void | undo () override |
| | undo action.
|
| | Action (Model &model, std::vector< u64 > &&path) |
| | Parameterized constructor.
|
| virtual | ~Action ()=default |
| | Default destructor.
|
◆ PriorityChangeAction()
| todo::PriorityChangeAction::PriorityChangeAction |
( |
Model & | model, |
|
|
std::vector< u64 > && | path, |
|
|
u16 | new_priority ) |
Parameterized constructor.
- Parameters
-
| model | Reference to the model to work with. |
| path | R-value reference to the path of action. |
| new_priority | The new priority to be assigned to task. |
◆ execute()
| void todo::PriorityChangeAction::execute |
( |
| ) |
|
|
overridevirtual |
◆ undo()
| void todo::PriorityChangeAction::undo |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: