GenericProjectManager: Allow users to remove directories from a project

... via the project context menu.

Fixes: QTCREATORBUG-16575
Change-Id: I02650a8ef70ffe22c6a42a5450588be4506af925
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2019-07-16 15:55:03 +02:00
parent f689f86be5
commit 1f81f63b56
2 changed files with 30 additions and 4 deletions

View File

@@ -26,6 +26,7 @@
#pragma once
#include <projectexplorer/project.h>
#include <utils/fileutils.h>
namespace CppTools { class CppProjectUpdater; }
namespace Utils { class FileSystemWatcher; }
@@ -46,6 +47,8 @@ public:
bool setFiles(const QStringList &filePaths);
bool renameFile(const QString &filePath, const QString &newFilePath);
Utils::FilePath filesFilePath() const { return Utils::FilePath::fromString(m_filesFileName); }
enum RefreshOptions {
Files = 0x01,
Configuration = 0x02,