forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user