DeviceProcess: Minimize the usage of DeviceProcess

DeviceProcess doesn't provide any public API, so
replace all usages of it with QtcProcess.
Keep using DeviceProcess only for reimplementations.

Change-Id: I35a14251a81dd0dde426f56ca2e809b527cc863c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-02-28 12:25:26 +01:00
parent e327007bd8
commit 8af62eb256
28 changed files with 70 additions and 75 deletions

View File

@@ -40,10 +40,10 @@ LinuxDeviceProcess::LinuxDeviceProcess(const QSharedPointer<const ProjectExplore
QObject *parent)
: ProjectExplorer::SshDeviceProcess(device, parent)
{
connect(this, &DeviceProcess::finished, this, [this]() {
connect(this, &QtcProcess::finished, this, [this]() {
m_processId = 0;
});
connect(this, &DeviceProcess::started, this, [this]() {
connect(this, &QtcProcess::started, this, [this]() {
m_pidParsed = false;
m_output.clear();
});