| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Remove the old Tasking lib.
Change-Id: Iacb4939cc873e25d6039efae7dd23510a7baa5f9
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of TaskAdapter<> and SimpleCustomTask<> templates.
Instead, add 2 template arguments to CustomTask
Adapter - it should implement public method:
void operator()(Task *task, TaskInterface *iface);
Deleter - optional task deleter, by default: std::default_delete<Task>.
Adapt all adapters to this redesign.
Api: TaskAdapter<Task> -> CustomTask<Task, Adapter>
Change-Id: Ib7b77a6e03c183da6905c32f59693a461beaaa99
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
| |
Remove unneeded c'tors.
Change-Id: I61b64e7d66c88f31ab494d9d943b4d76144e2eed
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends 770f1b0376db49b9ea5aad906dd6165ab71d9152
Change-Id: I289bc9af8499860e58a95e9c1d83faf92c8056f9
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
|
|
|
|
| |
Similar to with std::optional we want to avoid calling throwing
functions for std::variant, which includes std::get.
In many cases this also avoids the chain of `std::holds_alternative` +
`std::get` calls. And we never declare any `throws`.
Change-Id: I14f62ddef921b6bee90226ea34d1ffa62629bdc3
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change the argument of TaskInterface::done() signal
from bool into DoneResult. Make it consistent with
other TaskTree API.
Introduce toDoneResult(bool success) helper.
Change-Id: I7b3041d7c1ed0317c76adbc1fd37448231e85f82
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
|
|
|
Change-Id: Ia6a1b65564795c8f2931efb1030d7a189a18d68b
Reviewed-by: David Schulz <david.schulz@qt.io>
|