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:
@@ -63,20 +63,10 @@ public:
|
||||
virtual bool addSubProjects(const QStringList &proFilePaths);
|
||||
virtual bool removeSubProjects(const QStringList &proFilePaths);
|
||||
|
||||
virtual bool addFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths,
|
||||
QStringList *notAdded = 0);
|
||||
|
||||
virtual bool removeFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths,
|
||||
QStringList *notRemoved = 0);
|
||||
|
||||
virtual bool deleteFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths);
|
||||
|
||||
virtual bool renameFile(const ProjectExplorer::FileType fileType,
|
||||
const QString &filePath,
|
||||
const QString &newFilePath);
|
||||
virtual bool addFiles(const QStringList &filePaths, QStringList *notAdded = 0);
|
||||
virtual bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = 0);
|
||||
virtual bool deleteFiles(const QStringList &filePaths);
|
||||
virtual bool renameFile(const QString &filePath, const QString &newFilePath);
|
||||
virtual QList<ProjectExplorer::RunConfiguration *> runConfigurationsFor(Node *node);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user