summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial/clonewizard.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-09-20 15:12:44 +0200
committerhjk <hjk121@nokiamail.com>2013-09-24 09:57:32 +0200
commit49d0789e641e118dd412d3094e1f121f6ddfcb86 (patch)
tree8c19f6d76670e4c097edc44338b2b9813ebb0cb9 /src/plugins/mercurial/clonewizard.cpp
parentaa32c2be87f7192e03f06b8b5223100354e269a6 (diff)
downloadqt-creator-49d0789e641e118dd412d3094e1f121f6ddfcb86.tar.gz
Cleanup IWizard interface and users
Added 639 lines, removed 1391. Change-Id: I15ec7dd056d4f7ad79c6dd6a4181007ad14f6a43 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/mercurial/clonewizard.cpp')
-rw-r--r--src/plugins/mercurial/clonewizard.cpp22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/plugins/mercurial/clonewizard.cpp b/src/plugins/mercurial/clonewizard.cpp
index 274f0a4af5..9da9266392 100644
--- a/src/plugins/mercurial/clonewizard.cpp
+++ b/src/plugins/mercurial/clonewizard.cpp
@@ -40,27 +40,13 @@
using namespace Mercurial::Internal;
using namespace VcsBase;
-CloneWizard::CloneWizard(QObject *parent)
- : BaseCheckoutWizard(parent),
- m_icon(QIcon(QLatin1String(":/mercurial/images/hg.png")))
+CloneWizard::CloneWizard()
{
setId(QLatin1String(Constants::VCS_ID_MERCURIAL));
setCustomLabels(tr("Cloning"), tr("Cloning started..."));
-}
-
-QIcon CloneWizard::icon() const
-{
- return m_icon;
-}
-
-QString CloneWizard::description() const
-{
- return tr("Clones a Mercurial repository and tries to load the contained project.");
-}
-
-QString CloneWizard::displayName() const
-{
- return tr("Mercurial Clone");
+ setIcon(QIcon(QLatin1String(":/mercurial/images/hg.png")));
+ setDescription(tr("Clones a Mercurial repository and tries to load the contained project."));
+ setDisplayName(tr("Mercurial Clone"));
}
QList<QWizardPage *> CloneWizard::createParameterPages(const QString &path)