diff options
author | hjk <hjk@qt.io> | 2019-05-27 16:09:44 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-28 05:51:40 +0000 |
commit | 2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf (patch) | |
tree | 313688371de0cee8f2a4174d82a7828d051f3cf3 /src/plugins/projectexplorer/taskmodel.h | |
parent | 24560d883093e88d1c8f3c237c84b0d2fd720d0c (diff) |
ProjectExplorer: Introduce a alias for QList<Tasks>
Change-Id: I91391ad22b420926b0f512cac23cfe009048b218
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.h')
-rw-r--r-- | src/plugins/projectexplorer/taskmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.h b/src/plugins/projectexplorer/taskmodel.h index f371b90ace..f48e66d5d3 100644 --- a/src/plugins/projectexplorer/taskmodel.h +++ b/src/plugins/projectexplorer/taskmodel.h @@ -53,7 +53,7 @@ public: QString categoryDisplayName(Core::Id categoryId) const; void addCategory(Core::Id categoryId, const QString &categoryName); - QList<Task> tasks(Core::Id categoryId = Core::Id()) const; + Tasks tasks(Core::Id categoryId = Core::Id()) const; void addTask(const Task &t); void removeTask(unsigned int id); void clearTasks(Core::Id categoryId = Core::Id()); @@ -110,7 +110,7 @@ private: }; QHash<Core::Id,CategoryData> m_categories; // category id to data - QList<Task> m_tasks; // all tasks (in order of id) + Tasks m_tasks; // all tasks (in order of id) QHash<QString,bool> m_fileNotFound; QFont m_fileMeasurementFont; |