aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/task.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-05-28 13:49:26 +0200
committerhjk <hjk@qt.io>2019-05-28 12:23:26 +0000
commit473a741c9fcf09febba312464fab8385e2351181 (patch)
tree2d328a090993cb5c5fd34b43e9468bcbf7e4d4d0 /src/plugins/projectexplorer/task.h
parent4704f49fbb1201ebf10ab9dbaed0275ff25faba8 (diff)
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/task.h')
-rw-r--r--src/plugins/projectexplorer/task.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h
index fddd5e144f..739e90f176 100644
--- a/src/plugins/projectexplorer/task.h
+++ b/src/plugins/projectexplorer/task.h
@@ -61,7 +61,7 @@ public:
Task() = default;
Task(TaskType type, const QString &description,
- const Utils::FileName &file, int line, Core::Id category,
+ const Utils::FilePath &file, int line, Core::Id category,
const QIcon &icon = QIcon(),
Options options = AddTextMark | FlashWorthy);
@@ -70,14 +70,14 @@ public:
bool isNull() const;
void clear();
- void setFile(const Utils::FileName &file);
+ void setFile(const Utils::FilePath &file);
unsigned int taskId = 0;
TaskType type = Unknown;
Options options = AddTextMark | FlashWorthy;
QString description;
- Utils::FileName file;
- Utils::FileNameList fileCandidates;
+ Utils::FilePath file;
+ Utils::FilePathList fileCandidates;
int line = -1;
int movedLine = -1; // contains a line number if the line was moved in the editor
Core::Id category;