2323#include < QAbstractItemModel>
2424#include < QFuture>
2525
26- /* * \ingroup core
26+ /* *
27+ * \ingroup core
2728 * \class QgsTask
2829 * \brief Interface class for long running background tasks. Tasks can be controlled directly,
2930 * or added to a QgsTaskManager for automatic management.
30- * \note Added in version 2.16
31+ * \note Added in version 3.0
3132 */
3233class CORE_EXPORT QgsTask : public QObject
3334{
@@ -38,11 +39,11 @@ class CORE_EXPORT QgsTask : public QObject
3839 // ! Status of tasks
3940 enum TaskStatus
4041 {
41- Queued, /* !< Task is queued and has not begun */
42- OnHold, /* !< Task is queued but on hold and will not be started */
43- Running, /* !< Task is currently running */
44- Complete, /* !< Task successfully completed */
45- Terminated, /* !< Task was terminated or errored */
42+ Queued, // !< Task is queued and has not begun
43+ OnHold, // !< Task is queued but on hold and will not be started
44+ Running, // !< Task is currently running
45+ Complete, // !< Task successfully completed
46+ Terminated, // !< Task was terminated or errored
4647 };
4748
4849 // ! Task flags
@@ -173,7 +174,7 @@ typedef QList< QgsTask* > QgsTaskList;
173174 * \class QgsTaskManager
174175 * \brief Task manager for managing a set of long-running QgsTask tasks. This class can be created directly,
175176 * or accessed via a global instance.
176- * \note Added in version 2.16
177+ * \note Added in version 3.0
177178 */
178179class CORE_EXPORT QgsTaskManager : public QObject
179180{
0 commit comments