diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-29 17:53:47 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-03 11:01:50 +0000 |
commit | 5d7f5a2a32a742c3c83b3427f970c9d6ad824e69 (patch) | |
tree | be347e44bb9d1fa6fe9d5fb6aa3a36d32503ec60 /src/plugins/classview/classviewparser.cpp | |
parent | 6d9ff690c7eaabd9b27931ea38934b97466a43c2 (diff) |
ProjectNode: Rename path() to filePath()
Change-Id: I78bb73f8c9457fd74c470eacbf54eb9195ac9681
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/classview/classviewparser.cpp')
-rw-r--r-- | src/plugins/classview/classviewparser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/classview/classviewparser.cpp b/src/plugins/classview/classviewparser.cpp index 5a2eabb4efb..93b9f9ed7b0 100644 --- a/src/plugins/classview/classviewparser.cpp +++ b/src/plugins/classview/classviewparser.cpp @@ -729,7 +729,7 @@ QStringList Parser::projectNodeFileList(const FolderNode *node) const if (file->isGenerated()) continue; - list << file->path().toString(); + list << file->filePath().toString(); } foreach (const FolderNode *folder, subFolderNodes) { @@ -754,7 +754,7 @@ QStringList Parser::addProjectNode(const ParserTreeItem::Ptr &item, const Projec if (!node) return projectList; - const QString nodePath = node->path().toString(); + const QString nodePath = node->filePath().toString(); // our own files QStringList fileList; @@ -768,8 +768,8 @@ QStringList Parser::addProjectNode(const ParserTreeItem::Ptr &item, const Projec d->cachedPrjFileLists[nodePath] = fileList; } if (fileList.count() > 0) { - addProject(item, fileList, node->path().toString()); - projectList << node->path().toString(); + addProject(item, fileList, node->filePath().toString()); + projectList << node->filePath().toString(); } // subnodes @@ -777,7 +777,7 @@ QStringList Parser::addProjectNode(const ParserTreeItem::Ptr &item, const Projec foreach (const ProjectNode *project, projectNodes) { ParserTreeItem::Ptr itemPrj(new ParserTreeItem()); - SymbolInformation information(project->displayName(), project->path().toString()); + SymbolInformation information(project->displayName(), project->filePath().toString()); projectList += addProjectNode(itemPrj, project); @@ -798,7 +798,7 @@ QStringList Parser::getAllFiles(const ProjectNode *node) if (!node) return fileList; - const QString nodePath = node->path().toString(); + const QString nodePath = node->filePath().toString(); CitCachedPrjFileLists cit = d->cachedPrjFileLists.constFind(nodePath); // try to improve parsing speed by internal cache @@ -825,7 +825,7 @@ void Parser::addFlatTree(const ParserTreeItem::Ptr &item, const ProjectNode *nod fileList.removeDuplicates(); if (fileList.count() > 0) { - addProject(item, fileList, node->path().toString()); + addProject(item, fileList, node->filePath().toString()); } } |