aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/task.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-05-08 00:03:13 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-05-13 13:14:30 +0000
commit086eb4d598dffc65ce78297c718e2383aa2fbf38 (patch)
treebcaaa52a4d76d218b8537aa5395a46126a5b8f99 /src/plugins/projectexplorer/task.h
parent50b12945b72ea0f1f895da903d9ca66288ee3a78 (diff)
ProjectExplorer: Introduce new Task::setFile() method
This method can be useful when need to update a task file later, after the task creation. Change-Id: I42419e4c975e8644335a5f33a7bbf9a7c068322f Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/task.h')
-rw-r--r--src/plugins/projectexplorer/task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h
index b8b80784aa4..82ff6fcb135 100644
--- a/src/plugins/projectexplorer/task.h
+++ b/src/plugins/projectexplorer/task.h
@@ -70,6 +70,7 @@ public:
bool isNull() const;
void clear();
+ void setFile(const Utils::FileName &file);
unsigned int taskId = 0;
TaskType type = Unknown;