Controller for runnings tasks on all records.
More...
#include <taskscontroller.h>
|
| void | progressChanged (const QString title, const QString text, const int currentValue, const int maximumValue) const |
| | Progress of the current tasks operation has changed. More...
|
| |
Controller for runnings tasks on all records.
◆ TasksController()
Constructs a new controller for runnings tasks on all records.
- Parameters
-
| componentsController | Controller for adding and removing components. |
| facetsController | Controller for validating type facets. |
| fieldDefinitionsController | Controller for adding, updating and removing field definitions. |
| projectController | Controller for creating, loading and saving projects. |
| recordsController | Controller for adding, updating and removing records. |
| typesController | Controller for adding, updating and removing custom types. |
◆ addTask()
| void TasksController::addTask |
( |
Task * |
task | ) |
|
Adds the specified task to the list of automated tasks that can be performed by this controller.
- Parameters
-
◆ progressChanged
| void Tome::TasksController::progressChanged |
( |
const QString |
title, |
|
|
const QString |
text, |
|
|
const int |
currentValue, |
|
|
const int |
maximumValue |
|
) |
| const |
|
signal |
Progress of the current tasks operation has changed.
- Parameters
-
| title | Title of the current task. |
| text | Details of the current task. |
| currentValue | Current progress value of the tasks operation. |
| maximumValue | Maximum progress value of the tasks operation. |
◆ runAllTasks()
| const MessageList TasksController::runAllTasks |
( |
| ) |
const |
Runs all registered automated tasks.
- Returns
- List of messages, warnings and errors generated by all tasks.
The documentation for this class was generated from the following files:
- Source/Tome/Features/Tasks/Controller/taskscontroller.h
- Source/Tome/Features/Tasks/Controller/taskscontroller.cpp