diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-02 17:00:46 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-09 10:35:30 +0000 |
commit | a08cb7d52ef48e9c2ef45d0b81903cdf6b1ed90c (patch) | |
tree | 95d1e6fde2cd53cefccc9776cd54d0af4175a083 /src/plugins/resourceeditor/resourcenode.h | |
parent | 4db3209cd4e4d40c3130c4c656b79db4a8364919 (diff) |
FolderNodes: Specify filter for Add Existing Directory
Allow foldernodes to specify which files they care for when doing
"Add Existing Directory". Before we used a fixed list with C++ header
and source files, which does make no sense for e.g. adding to resources.
Task-number: QTCREATORBUG-15278
Change-Id: I15dad133391485c2bcebd2d864623304b31b5f8f
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/plugins/resourceeditor/resourcenode.h')
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.h b/src/plugins/resourceeditor/resourcenode.h index 05666d20a6..f503d5e4ae 100644 --- a/src/plugins/resourceeditor/resourcenode.h +++ b/src/plugins/resourceeditor/resourcenode.h @@ -49,6 +49,8 @@ public: ~ResourceTopLevelNode() override; void update(); + QString addFileFilter() const override; + QList<ProjectExplorer::ProjectAction> supportedActions(Node *node) const override; bool addFiles(const QStringList &filePaths, QStringList *notAdded) override; bool removeFiles(const QStringList &filePaths, QStringList *notRemoved) override; |