diff options
author | Pawel Rutka <prutka13@gmail.com> | 2018-02-13 20:26:04 +0100 |
---|---|---|
committer | pawelrutka <prutka13@gmail.com> | 2018-02-23 15:15:22 +0000 |
commit | 4aced20a214538a50aef98d763293595d4f6983e (patch) | |
tree | 7b99dc9c2407310a36a89445ba191ab96dfb1214 /src/plugins/projectexplorer/projectnodes.h | |
parent | 5ea157f0b85f3fec6c351d844cf2b35a12a80b07 (diff) |
Implement support for project file open after AddFile action
Change-Id: I5f5372498a34760976cea5b7d6f5f49dd04558db
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r-- | src/plugins/projectexplorer/projectnodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index 34ad086a18..2619b7e8a6 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -32,7 +32,7 @@ #include <QStringList> #include <utils/fileutils.h> - +#include <utils/optional.h> #include <functional> namespace Utils { class MimeType; } @@ -324,6 +324,9 @@ public: virtual bool canAddSubProject(const QString &proFilePath) const; virtual bool addSubProject(const QString &proFile); virtual bool removeSubProject(const QString &proFilePath); + virtual Utils::optional<Utils::FileName> visibleAfterAddFileAction() const { + return Utils::nullopt; + } bool addFiles(const QStringList &filePaths, QStringList *notAdded = 0) override; bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = 0) override; |