Utils: Use CommandLine in ShellCommand

... and adapt users.

Change-Id: I218523ffe34720d5fe199aa0ca6892a8dc2985fc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2019-06-07 15:27:50 +02:00
parent 749eaaad81
commit 00b692e67e
29 changed files with 78 additions and 90 deletions

View File

@@ -29,7 +29,7 @@
#include <coreplugin/ioutputpane.h>
namespace Utils { class FilePath; }
namespace Utils { class CommandLine; }
namespace VcsBase {
namespace Internal { class VcsPlugin; }
@@ -66,8 +66,7 @@ public:
// 'Executing <dir>: <cmd> <args>'. Hides well-known password option
// arguments.
static QString msgExecutionLogEntry(const QString &workingDir,
const Utils::FilePath &executable,
const QStringList &arguments);
const Utils::CommandLine &command);
enum MessageStyle {
None,
@@ -107,8 +106,7 @@ public slots:
// Append a standard-formatted entry for command execution
// (see msgExecutionLogEntry).
static void appendCommand(const QString &workingDirectory,
const Utils::FilePath &binary,
const QStringList &args);
const Utils::CommandLine &command);
// Append a blue message text and pop up.
static void appendMessage(const QString &text);