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 @@
namespace Cvs {
namespace Internal {
CheckoutWizardFactory::CheckoutWizardFactory()
{
setId(QLatin1String(VcsBase::Constants::VCS_ID_CVS));
setIcon(QIcon(QLatin1String(":/cvs/images/cvs.png")));
setDescription(tr("Checks out a CVS repository and tries to load the contained project."));
setDisplayName(tr("CVS Checkout"));
}
VcsBase::BaseCheckoutWizard *CheckoutWizardFactory::create(const Utils::FileName &path, QWidget *parent) const
{
return new CheckoutWizard(path, parent);
}
// --------------------------------------------------------------------
// CheckoutWizard:
// --------------------------------------------------------------------