ConsoleProcess: Uniform the common interface of QtcProcess

This is a preliminary step before merging ConsoleProcess
into QtcProcess.

Rename:
processStarted() -> started()
processFinished() -> finished()

Change-Id: Ifd94722822c7628fc8130e3a6377d55d24db6eb3
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-01-18 19:10:30 +01:00
parent 2c8c7707c5
commit 404f7a1b31
5 changed files with 27 additions and 32 deletions

View File

@@ -195,9 +195,9 @@ void SshDeviceProcess::handleConnected()
d->process->setUseTerminal(true);
connect(&d->consoleProcess, &ConsoleProcess::errorOccurred,
this, &DeviceProcess::error);
connect(&d->consoleProcess, &ConsoleProcess::processStarted,
connect(&d->consoleProcess, &ConsoleProcess::started,
this, &SshDeviceProcess::handleProcessStarted);
connect(&d->consoleProcess, &ConsoleProcess::processStopped,
connect(&d->consoleProcess, &ConsoleProcess::finished,
this, [this] { handleProcessFinished(d->consoleProcess.errorString()); });
connect(&d->consoleProcess, &ConsoleProcess::stubStopped,
this, [this] { handleProcessFinished(d->consoleProcess.errorString()); });