Vcs: Flatten the VcsBase::BaseCheckoutWizard hierarchy

Following the new simple-factory pattern

Change-Id: Idceb7a339169af37a040f9da7d36d3fe22dfb347
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-07-28 18:46:34 +02:00
parent 2961c1c288
commit 351abd035b
19 changed files with 92 additions and 156 deletions

View File

@@ -40,19 +40,6 @@
using namespace Mercurial::Internal;
using namespace VcsBase;
CloneWizardFactory::CloneWizardFactory()
{
setId(QLatin1String(Constants::VCS_ID_MERCURIAL));
setIcon(QIcon(QLatin1String(":/mercurial/images/hg.png")));
setDescription(tr("Clones a Mercurial repository and tries to load the contained project."));
setDisplayName(tr("Mercurial Clone"));
}
BaseCheckoutWizard *CloneWizardFactory::create(const Utils::FileName &path, QWidget *parent) const
{
return new CloneWizard(path, parent);
}
// --------------------------------------------------------------------
// CloneWizard:
// --------------------------------------------------------------------