clonewizard.h 745 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#ifndef CLONEWIZARD_H
#define CLONEWIZARD_H

#include <vcsbase/basecheckoutwizard.h>
#include <vcsbase/checkoutjobs.h>

#include <QtGui/QIcon>

namespace Mercurial {
namespace Internal {

class CloneWizard : public VCSBase::BaseCheckoutWizard
{
public:
    CloneWizard(QObject *parent = 0);

    QIcon icon() const;
    QString description() const;
    QString name() const;

protected:
    QList<QWizardPage *> createParameterPages(const QString &path);
    QSharedPointer<VCSBase::AbstractCheckoutJob> createJob(const QList<QWizardPage *> &parameterPages,
                                                           QString *checkoutPath);

private:
    QIcon m_icon;
};

} //namespace Internal
} //namespace Mercurial

#endif // CLONEWIZARD_H