aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projecttree.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-11-29 16:18:01 +0100
committerEike Ziller <eike.ziller@qt.io>2017-11-30 14:43:41 +0000
commit0c9c747d92b7f263b386ea89d82887dc59a24773 (patch)
tree6d19d16fa1073828b35e374500b2ad78c445ccb3 /src/plugins/projectexplorer/projecttree.h
parentfe038630fb0d4151c5d32de6718793d117a1e0a4 (diff)
Add "Rename" to file system view
Renames the file on disk, notifies editors, and tries to change the file in all open projects that had it (and support renaming). Task-number: QTCREATORBUG-19209 Change-Id: I165e9468c7235f9f503a3820bda3eb00f3c086d0 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projecttree.h')
-rw-r--r--src/plugins/projectexplorer/projecttree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projecttree.h b/src/plugins/projectexplorer/projecttree.h
index f127b155f7..6691ccf45d 100644
--- a/src/plugins/projectexplorer/projecttree.h
+++ b/src/plugins/projectexplorer/projecttree.h
@@ -73,6 +73,8 @@ public:
static bool hasNode(const Node *node);
+ static void forEachNode(const std::function<void(Node *)> &task);
+
void collapseAll();
// for nodes to emit signals, do not call unless you are a node