Utils: Rename ProjectExplorer::Runnable into Utils::ProcessRunData

Move it into Utils lib.

Change-Id: I3b6c16d18439cabddf59afc03116f13c1970102c
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-08-16 19:24:06 +02:00
parent 123eb073ca
commit 121d73b30f
44 changed files with 112 additions and 98 deletions

View File

@@ -18,9 +18,10 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projecttree.h>
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/runcontrol.h>
#include <projectexplorer/target.h>
#include <utils/processinterface.h>
#include <QCheckBox>
#include <QDialogButtonBox>
#include <QFileDialog>
@@ -98,7 +99,7 @@ UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent)
pathLayout->addWidget(resetExecutable);
if (activeTarget) {
if (RunConfiguration *runConfig = activeTarget->activeRunConfiguration()) {
const Runnable runnable = runConfig->runnable();
const ProcessRunData runnable = runConfig->runnable();
if (isLocal(runConfig)) {
resetExecutable->setEnabled(true);
connect(resetExecutable, &QPushButton::clicked, this, [this, runnable] {
@@ -179,7 +180,7 @@ void UnstartedAppWatcherDialog::selectExecutable()
if (activeTarget) {
if (RunConfiguration *runConfig = activeTarget->activeRunConfiguration()) {
const Runnable runnable = runConfig->runnable();
const ProcessRunData runnable = runConfig->runnable();
if (isLocal(runConfig))
path = runnable.command.executable().parentDir();
}