summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectfilewizardextension.h
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2010-08-26 18:33:16 +0200
committerJarek Kobus <jkobus@trolltech.com>2010-08-26 18:35:05 +0200
commit1cefde9e45bedecfce2b42ace29c5bf390a476b5 (patch)
tree923f25f0018f9694f12028f10fe630fcb77caad8 /src/plugins/projectexplorer/projectfilewizardextension.h
parentfc1be8b488aeea55fc022429b7af6ca1997c782c (diff)
downloadqt-creator-1cefde9e45bedecfce2b42ace29c5bf390a476b5.tar.gz
Implement adding new project into opened subdirs project
Reviewed-by: dt <qtc-committer@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectfilewizardextension.h')
-rw-r--r--src/plugins/projectexplorer/projectfilewizardextension.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/projectfilewizardextension.h b/src/plugins/projectexplorer/projectfilewizardextension.h
index d7ba722c7c..5c9dbe0d62 100644
--- a/src/plugins/projectexplorer/projectfilewizardextension.h
+++ b/src/plugins/projectexplorer/projectfilewizardextension.h
@@ -50,15 +50,20 @@ public:
virtual ~ProjectFileWizardExtension();
virtual QList<QWizardPage *> extensionPages(const Core::IWizard *wizard);
- virtual bool process(const QList<Core::GeneratedFile> &files, QString *errorMessage);
+ virtual bool process(const QList<Core::GeneratedFile> &files,
+ const QString &generatedProjectFilePath,
+ bool *removeOpenProjectAttribute, QString *errorMessage);
public slots:
- virtual void firstExtensionPageShown(const QList<Core::GeneratedFile> &);
+ virtual void firstExtensionPageShown(const QList<Core::GeneratedFile> &files,
+ const QString &generatedProjectFilePath);
private:
- void initProjectChoices(bool enabled);
+ void initProjectChoices(const QString &generatedProjectFilePath);
void initializeVersionControlChoices();
- bool processProject(const QList<Core::GeneratedFile> &files, QString *errorMessage);
+ bool processProject(const QList<Core::GeneratedFile> &files,
+ const QString &generatedProjectFilePath,
+ bool *removeOpenProjectAttribute, QString *errorMessage);
bool processVersionControl(const QList<Core::GeneratedFile> &files, QString *errorMessage);
ProjectWizardContext *m_context;