summaryrefslogtreecommitdiff
path: root/src/plugins/git/clonewizard.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-08-27 18:55:41 +0200
committerhjk <hjk121@nokiamail.com>2014-08-28 16:37:00 +0200
commit5f7e89d914920d3b9fa0798c233af5c96cf7cf28 (patch)
tree2de6540ec517101781d7f79940a2c5bd4e0c588d /src/plugins/git/clonewizard.cpp
parent29532a69712fa02de8aa5704ff75c9825dec81a2 (diff)
downloadqt-creator-5f7e89d914920d3b9fa0798c233af5c96cf7cf28.tar.gz
Vcs: Some naming re-organization
Rename VcsCommand to VcsCommandTag, Command into VcsCommand (Too generic to not mistake for Core::Command IMNSHO), remove the now unneeded namespace qualification when not needed, adjust surrounding code. Change-Id: Iceb18a21e5e6dffa1a622241286f766985bb8d22 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/git/clonewizard.cpp')
-rw-r--r--src/plugins/git/clonewizard.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/git/clonewizard.cpp b/src/plugins/git/clonewizard.cpp
index 3a09dcd5f1..b13bebdf40 100644
--- a/src/plugins/git/clonewizard.cpp
+++ b/src/plugins/git/clonewizard.cpp
@@ -37,6 +37,8 @@
#include <vcsbase/vcsconfigurationpage.h>
#include <utils/qtcassert.h>
+using namespace VcsBase;
+
namespace Git {
namespace Internal {
@@ -45,20 +47,20 @@ namespace Internal {
// --------------------------------------------------------------------
CloneWizard::CloneWizard(const Utils::FileName &path, QWidget *parent) :
- VcsBase::BaseCheckoutWizard(path, parent)
+ BaseCheckoutWizard(path, parent)
{
setTitle(tr("Cloning"));
setStartedStatus(tr("Cloning started..."));
const Internal::GitVersionControl *vc = Internal::GitPlugin::instance()->gitVersionControl();
if (!vc->isConfigured())
- addPage(new VcsBase::VcsConfigurationPage(vc));
+ addPage(new VcsConfigurationPage(vc));
CloneWizardPage *cwp = new CloneWizardPage;
cwp->setPath(path.toString());
addPage(cwp);
}
-VcsBase::Command *CloneWizard::createCommand(Utils::FileName *checkoutDir)
+VcsCommand *CloneWizard::createCommand(Utils::FileName *checkoutDir)
{
// Collect parameters for the clone command.
const CloneWizardPage *cwp = 0;