aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/taskwindow.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-07-11 12:08:22 +0200
committerEike Ziller <eike.ziller@qt.io>2023-07-12 06:34:25 +0000
commitcd1b6a669bf73fb69987f403c0f942465bf03407 (patch)
tree0457bf49597feb178fa64ff7b7ac8752139e5f0d /src/plugins/projectexplorer/taskwindow.h
parent918978ce89c4ae3edf0e00309d251db59bd76150 (diff)
Tasks: Create a container class for category data
Reduce the number of arguments that need to be passed around. Change-Id: I9fbfdcdf7b20f8f26e35f435bf8d65ba483e4114 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/taskwindow.h')
-rw-r--r--src/plugins/projectexplorer/taskwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/taskwindow.h b/src/plugins/projectexplorer/taskwindow.h
index c2e7a78a24..3f0c658667 100644
--- a/src/plugins/projectexplorer/taskwindow.h
+++ b/src/plugins/projectexplorer/taskwindow.h
@@ -14,6 +14,7 @@ class QPoint;
QT_END_NAMESPACE
namespace ProjectExplorer {
+class TaskCategory;
class TaskHub;
class Task;
@@ -60,7 +61,7 @@ signals:
private:
void updateFilter() override;
- void addCategory(Utils::Id categoryId, const QString &displayName, bool visible, int priority);
+ void addCategory(const TaskCategory &category);
void addTask(const ProjectExplorer::Task &task);
void removeTask(const ProjectExplorer::Task &task);
void updatedTaskFileName(const Task &task, const QString &fileName);