Added a gitorious clone wizard.

... based on the git clone wizard. Provide a wizard for browsing
gitorious hosts.

Task-number:  44831
This commit is contained in:
Friedemann Kleint
2009-07-24 13:41:14 +02:00
parent 00f7dd4586
commit b49d715a1c
27 changed files with 2720 additions and 46 deletions

View File

@@ -32,25 +32,32 @@
#include <vcsbase/basecheckoutwizardpage.h>
namespace Git {
namespace Internal {
#include <QtCore/QSharedPointer>
namespace VCSBase {
class AbstractCheckoutJob;
}
namespace Git {
struct CloneWizardPagePrivate;
// Used by gitorious as well.
class CloneWizardPage : public VCSBase::BaseCheckoutWizardPage
{
Q_OBJECT
public:
CloneWizardPage(QWidget *parent = 0);
explicit CloneWizardPage(QWidget *parent = 0);
virtual ~CloneWizardPage();
QSharedPointer<VCSBase::AbstractCheckoutJob> createCheckoutJob(QString *checkoutPath) const;
protected:
virtual QString directoryFromRepository(const QString &r) const;
private:
const QString m_mainLinePostfix;
const QString m_gitPostFix;
const QString m_protocolDelimiter;
CloneWizardPagePrivate *d;
};
} // namespace Internal
} // namespace Git
#endif // CLONEWIZARDPAGE_H