summaryrefslogtreecommitdiff
path: root/src/plugins/qbsprojectmanager/qbsnodes.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2013-07-01 16:13:48 +0200
committerDaniel Teske <daniel.teske@digia.com>2013-07-08 17:05:04 +0200
commitcc7fe5eac6ea6125b063ee36d0763d5cb230e26f (patch)
tree59a9750b5ce40148764526171fb807bab0aaaa68 /src/plugins/qbsprojectmanager/qbsnodes.h
parenta98fe15fe51a87e2943623caf2a8ea072cfc5919 (diff)
downloadqt-creator-cc7fe5eac6ea6125b063ee36d0763d5cb230e26f.tar.gz
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>
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbsnodes.h')
-rw-r--r--src/plugins/qbsprojectmanager/qbsnodes.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsnodes.h b/src/plugins/qbsprojectmanager/qbsnodes.h
index 2070483493..250793c527 100644
--- a/src/plugins/qbsprojectmanager/qbsnodes.h
+++ b/src/plugins/qbsprojectmanager/qbsnodes.h
@@ -90,17 +90,10 @@ public:
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);