diff options
author | hjk <hjk121@nokiamail.com> | 2013-09-20 15:12:44 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-09-24 09:57:32 +0200 |
commit | 49d0789e641e118dd412d3094e1f121f6ddfcb86 (patch) | |
tree | 8c19f6d76670e4c097edc44338b2b9813ebb0cb9 /src/plugins/cvs/checkoutwizard.cpp | |
parent | aa32c2be87f7192e03f06b8b5223100354e269a6 (diff) | |
download | qt-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/cvs/checkoutwizard.cpp')
-rw-r--r-- | src/plugins/cvs/checkoutwizard.cpp | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/plugins/cvs/checkoutwizard.cpp b/src/plugins/cvs/checkoutwizard.cpp index 3572a5c100..e2a3bb327c 100644 --- a/src/plugins/cvs/checkoutwizard.cpp +++ b/src/plugins/cvs/checkoutwizard.cpp @@ -37,30 +37,15 @@ #include <vcsbase/vcsconfigurationpage.h> #include <utils/qtcassert.h> -#include <QIcon> - namespace Cvs { namespace Internal { -CheckoutWizard::CheckoutWizard(QObject *parent) : - VcsBase::BaseCheckoutWizard(parent) +CheckoutWizard::CheckoutWizard() { setId(QLatin1String(VcsBase::Constants::VCS_ID_CVS)); -} - -QIcon CheckoutWizard::icon() const -{ - return QIcon(QLatin1String(":/cvs/images/cvs.png")); -} - -QString CheckoutWizard::description() const -{ - return tr("Checks out a CVS repository and tries to load the contained project."); -} - -QString CheckoutWizard::displayName() const -{ - return tr("CVS Checkout"); + 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")); } QList<QWizardPage*> CheckoutWizard::createParameterPages(const QString &path) |