forked from qt-creator/qt-creator
Utils: Use CommandLine in ShellCommand
... and adapt users. Change-Id: I218523ffe34720d5fe199aa0ca6892a8dc2985fc Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user