aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/customcommanddeploystep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/customcommanddeploystep.cpp')
-rw-r--r--src/plugins/remotelinux/customcommanddeploystep.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/remotelinux/customcommanddeploystep.cpp b/src/plugins/remotelinux/customcommanddeploystep.cpp
index 80e8ded988a..7249d2c6b2b 100644
--- a/src/plugins/remotelinux/customcommanddeploystep.cpp
+++ b/src/plugins/remotelinux/customcommanddeploystep.cpp
@@ -57,22 +57,22 @@ CheckResult CustomCommandDeployStep::isDeploymentPossible() const
Group CustomCommandDeployStep::deployRecipe()
{
- const auto setupHandler = [this](QtcProcess &process) {
+ const auto setupHandler = [this](Process &process) {
addProgressMessage(Tr::tr("Starting remote command \"%1\"...").arg(m_commandLine));
process.setCommand({deviceConfiguration()->filePath("/bin/sh"),
{"-c", m_commandLine}});
- QtcProcess *proc = &process;
- connect(proc, &QtcProcess::readyReadStandardOutput, this, [this, proc] {
+ Process *proc = &process;
+ connect(proc, &Process::readyReadStandardOutput, this, [this, proc] {
handleStdOutData(proc->readAllStandardOutput());
});
- connect(proc, &QtcProcess::readyReadStandardError, this, [this, proc] {
+ connect(proc, &Process::readyReadStandardError, this, [this, proc] {
handleStdErrData(proc->readAllStandardError());
});
};
- const auto doneHandler = [this](const QtcProcess &) {
+ const auto doneHandler = [this](const Process &) {
addProgressMessage(Tr::tr("Remote command finished successfully."));
};
- const auto errorHandler = [this](const QtcProcess &process) {
+ const auto errorHandler = [this](const Process &process) {
if (process.error() != QProcess::UnknownError
|| process.exitStatus() != QProcess::NormalExit) {
addErrorMessage(Tr::tr("Remote process failed: %1").arg(process.errorString()));