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

@@ -38,24 +38,9 @@
#include <vcsbase/vcsconfigurationpage.h>
#include <utils/qtcassert.h>
#include <QIcon>
namespace Subversion {
namespace Internal {
CheckoutWizardFactory::CheckoutWizardFactory()
{
setId(QLatin1String(VcsBase::Constants::VCS_ID_SUBVERSION));
setIcon(QIcon(QLatin1String(":/subversion/images/subversion.png")));
setDescription(tr("Checks out a Subversion repository and tries to load the contained project."));
setDisplayName(tr("Subversion Checkout"));
}
VcsBase::BaseCheckoutWizard *CheckoutWizardFactory::create(const Utils::FileName &path, QWidget *parent) const
{
return new CheckoutWizard(path, parent);
}
// --------------------------------------------------------------------
// CheckoutWizard:
// --------------------------------------------------------------------