summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitorious/gitoriousclonewizard.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-05-05 16:17:21 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-05-26 11:44:00 +0200
commite9526eadb8e3bd567322c0841ea1f43842dff318 (patch)
tree8568a03b1fb21cc040f66760069ac0ad199ae21c /src/plugins/git/gitorious/gitoriousclonewizard.h
parent67c2c77a99b41247652279b3732c4cdf0ff84e6a (diff)
downloadqt-creator-e9526eadb8e3bd567322c0841ea1f43842dff318.tar.gz
Vcs: Add method to create a Wizard to the WizardFactory and use it
Implement it in all VCS that support this type of wizard Change-Id: I78b0e4a37e6bf6b25d8cee4b1e96bcc76188047a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitorious/gitoriousclonewizard.h')
-rw-r--r--src/plugins/git/gitorious/gitoriousclonewizard.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/git/gitorious/gitoriousclonewizard.h b/src/plugins/git/gitorious/gitoriousclonewizard.h
index f7163f348f..d407050494 100644
--- a/src/plugins/git/gitorious/gitoriousclonewizard.h
+++ b/src/plugins/git/gitorious/gitoriousclonewizard.h
@@ -31,6 +31,7 @@
#define GITORIOUSCLONEWIZARD_H
#include <vcsbase/basecheckoutwizardfactory.h>
+#include <vcsbase/basecheckoutwizard.h>
namespace Gitorious {
namespace Internal {
@@ -44,6 +45,8 @@ class GitoriousCloneWizardFactory : public VcsBase::BaseCheckoutWizardFactory
public:
GitoriousCloneWizardFactory();
+ VcsBase::BaseCheckoutWizard *create(const QList<QWizardPage *> &parameterPages, QWidget *parent = 0) const;
+
private:
// BaseCheckoutWizard
QList<QWizardPage*> createParameterPages(const QString &path);
@@ -51,6 +54,15 @@ private:
QString *checkoutPath);
};
+class GitoriousCloneWizard : public VcsBase::BaseCheckoutWizard
+{
+ Q_OBJECT
+
+public:
+ GitoriousCloneWizard(const QList<QWizardPage *> &parameterPages, QWidget *parent = 0);
+};
+
+
} // namespace Internal
} // namespace Gitorious