forked from qt-creator/qt-creator
Project: Simplfy file adding/removing interface
The filetype is only relevant for Qt4 projects. But even for Qt4 projects the file type is insufficient to decide where the file should be added. So remove the file type from the interface and let the projectmanagers themselves figure out what they want to do. Also fix Task-number: QTCREATORBUG-9688 Change-Id: I02f7b1cd2e05efaf76e36fb9af34b109d4482f88 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -64,17 +64,11 @@ public:
|
||||
bool canAddSubProject(const QString &proFilePath) const;
|
||||
bool addSubProjects(const QStringList &proFilePaths);
|
||||
bool removeSubProjects(const QStringList &proFilePaths);
|
||||
bool addFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths,
|
||||
QStringList *notAdded = 0);
|
||||
bool removeFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths,
|
||||
QStringList *notRemoved = 0);
|
||||
bool deleteFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths);
|
||||
bool renameFile(const ProjectExplorer::FileType fileType,
|
||||
const QString &filePath,
|
||||
const QString &newFilePath);
|
||||
bool addFiles(const QStringList &filePaths, QStringList *notAdded = 0);
|
||||
bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = 0);
|
||||
bool deleteFiles(const QStringList &filePaths);
|
||||
bool renameFile(const QString &filePath,
|
||||
const QString &newFilePath);
|
||||
QList<ProjectExplorer::RunConfiguration *> runConfigurationsFor(Node *node);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user