forked from qt-creator/qt-creator
TaskTree: Make enums known to the Qt meta object system
Change-Id: I72d8b74460febe1d7ad7d840e25cea02cd77b308 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -16,6 +16,8 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Tasking {
|
||||
|
||||
Q_NAMESPACE
|
||||
|
||||
class ExecutionContextActivator;
|
||||
class TaskContainer;
|
||||
class TaskTreePrivate;
|
||||
@@ -109,6 +111,7 @@ enum class WorkflowPolicy {
|
||||
StopOnFinished, // 3 - Stops on first finished child and report its result.
|
||||
FinishAllAndDone // 4 - Reports done after all children finished.
|
||||
};
|
||||
Q_ENUM_NS(WorkflowPolicy);
|
||||
|
||||
enum class TaskAction
|
||||
{
|
||||
@@ -116,6 +119,7 @@ enum class TaskAction
|
||||
StopWithDone,
|
||||
StopWithError
|
||||
};
|
||||
Q_ENUM_NS(TaskAction);
|
||||
|
||||
class TASKING_EXPORT TaskItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user