forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include "subversionsettings.h"
|
||||
#include <vcsbase/vcsbaseclient.h>
|
||||
#include <vcsbase/vcscommand.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
@@ -49,10 +50,10 @@ public:
|
||||
|
||||
SubversionSettings *settings() const;
|
||||
|
||||
VcsBase::Command *createCommitCmd(const QString &repositoryRoot,
|
||||
const QStringList &files,
|
||||
const QString &commitMessageFile,
|
||||
const QStringList &extraOptions = QStringList()) const;
|
||||
VcsBase::VcsCommand *createCommitCmd(const QString &repositoryRoot,
|
||||
const QStringList &files,
|
||||
const QString &commitMessageFile,
|
||||
const QStringList &extraOptions = QStringList()) const;
|
||||
void commit(const QString &repositoryRoot,
|
||||
const QStringList &files,
|
||||
const QString &commitMessageFile,
|
||||
@@ -74,13 +75,13 @@ public:
|
||||
Version svnVersion();
|
||||
|
||||
// Add authorization options to the command line arguments.
|
||||
QStringList authenticationOptions(VcsCommand cmd) const;
|
||||
QStringList authenticationOptions(VcsCommandTag cmd) const;
|
||||
static QStringList addAuthenticationOptions(const QStringList &args,
|
||||
const QString &userName = QString(),
|
||||
const QString &password = QString());
|
||||
|
||||
protected:
|
||||
Core::Id vcsEditorKind(VcsCommand cmd) const;
|
||||
Core::Id vcsEditorKind(VcsCommandTag cmd) const;
|
||||
VcsBase::VcsBaseEditorParameterWidget *createDiffEditor(const QString &workingDir,
|
||||
const QStringList &files,
|
||||
const QStringList &extraOptions);
|
||||
|
||||
Reference in New Issue
Block a user