QDefaultTaskAdapter Class
template <typename Task> class QDefaultTaskAdapterA class template providing default task adapter used in QCustomTask. More...
Header: | #include <qtasktree.h> |
Note: All functions in this class are reentrant.
Detailed Description
The QDefaultTaskAdapter adapting Task may be used when the following conditions are met:
- The Task is derived from QObject.
- The Task has public start() method that starts the task.
- The Task emits done(QtTaskTree::DoneResult) or done(bool) signal when it's finished.
If any of these conditions isn't met, you should provide your custom Adapter type adapting the Task type, to the QCustomTask<Task, Adapter> class template.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.