summaryrefslogtreecommitdiff
path: root/src/plugins/git/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/git/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/git/clonewizard.cpp')
-rw-r--r--src/plugins/git/clonewizard.cpp23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/plugins/git/clonewizard.cpp b/src/plugins/git/clonewizard.cpp
index f7ba3d2dcf..a222ef48dc 100644
--- a/src/plugins/git/clonewizard.cpp
+++ b/src/plugins/git/clonewizard.cpp
@@ -37,31 +37,16 @@
#include <vcsbase/vcsconfigurationpage.h>
#include <utils/qtcassert.h>
-#include <QIcon>
-
namespace Git {
namespace Internal {
-CloneWizard::CloneWizard(QObject *parent) :
- VcsBase::BaseCheckoutWizard(parent)
+CloneWizard::CloneWizard()
{
setId(QLatin1String(VcsBase::Constants::VCS_ID_GIT));
setCustomLabels(tr("Cloning"), tr("Cloning started..."));
-}
-
-QIcon CloneWizard::icon() const
-{
- return QIcon(QLatin1String(":/git/images/git.png"));
-}
-
-QString CloneWizard::description() const
-{
- return tr("Clones a Git repository and tries to load the contained project.");
-}
-
-QString CloneWizard::displayName() const
-{
- return tr("Git Repository Clone");
+ setIcon(QIcon(QLatin1String(":/git/images/git.png")));
+ setDescription(tr("Clones a Git repository and tries to load the contained project."));
+ setDisplayName(tr("Git Repository Clone"));
}
QList<QWizardPage*> CloneWizard::createParameterPages(const QString &path)