diff options
author | hjk <hjk@qt.io> | 2021-07-14 16:49:42 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-07-16 13:45:06 +0000 |
commit | 1bde4ddbeca28f33d3c9bcaea6b48851d11444f3 (patch) | |
tree | cae74e01c7b1e68fd79f77c75d8dbd88347e9f50 /src/plugins/resourceeditor/resourcenode.h | |
parent | a58686cf962537624b25a5938d2ca59986d64171 (diff) |
ProjectExplorer: Use FilePaths in project tree nodes
Change-Id: I31b15c428d9b962333947b1e32641fd80f61d069
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor/resourcenode.h')
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.h b/src/plugins/resourceeditor/resourcenode.h index d73da8db86..3a140d46b2 100644 --- a/src/plugins/resourceeditor/resourcenode.h +++ b/src/plugins/resourceeditor/resourcenode.h @@ -42,9 +42,9 @@ public: void addInternalNodes(); bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override; - bool addFiles(const QStringList &filePaths, QStringList *notAdded) override; - ProjectExplorer::RemovedFilesFromProject removeFiles(const QStringList &filePaths, - QStringList *notRemoved) override; + bool addFiles(const Utils::FilePaths &filePaths, Utils::FilePaths *notAdded) override; + ProjectExplorer::RemovedFilesFromProject removeFiles(const Utils::FilePaths &filePaths, + Utils::FilePaths *notRemoved) override; bool addPrefix(const QString &prefix, const QString &lang); bool removePrefix(const QString &prefix, const QString &lang); @@ -70,9 +70,9 @@ public: QString displayName() const override; - bool addFiles(const QStringList &filePaths, QStringList *notAdded) override; - ProjectExplorer::RemovedFilesFromProject removeFiles(const QStringList &filePaths, - QStringList *notRemoved) override; + bool addFiles(const Utils::FilePaths &filePaths, Utils::FilePaths *notAdded) override; + ProjectExplorer::RemovedFilesFromProject removeFiles(const Utils::FilePaths &filePaths, + Utils::FilePaths *notRemoved) override; bool canRenameFile(const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) override; bool renameFile(const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) override; |