aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-05-23 11:43:10 +0200
committerhjk <hjk@qt.io>2022-05-23 11:13:27 +0000
commit1f022735d4c0d66adcf78887ffb29247f0870c7d (patch)
treebfe442ccd69ea263b9e06595325a601742867072 /src/plugins/projectexplorer/applicationlauncher.h
parent21d0175dabff43eaf35658f1153187553019444f (diff)
ProjectExplorer: Move ApplicationLauncher to runcontrol.cpp
It's the only remaining use. Change-Id: Id631981945b4d1850ea880a583d99dbb1e3cf25c Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h
deleted file mode 100644
index e3ea98698b..0000000000
--- a/src/plugins/projectexplorer/applicationlauncher.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qt Creator.
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-****************************************************************************/
-
-#pragma once
-
-#include "projectexplorer_export.h"
-
-#include <utils/outputformat.h>
-#include <utils/processhandle.h>
-
-#include <QProcess>
-
-#include <memory>
-
-namespace Utils {
-class ProcessHandle;
-class ProcessResultData;
-} // Utils
-
-namespace ProjectExplorer {
-
-class Runnable;
-namespace Internal { class ApplicationLauncherPrivate; }
-
-// Documentation inside.
-class PROJECTEXPLORER_EXPORT ApplicationLauncher : public QObject
-{
- Q_OBJECT
-
-public:
- explicit ApplicationLauncher(QObject *parent = nullptr);
- ~ApplicationLauncher() override;
-
- void setUseTerminal(bool on);
- void setRunAsRoot(bool on);
- void setRunnable(const Runnable &runnable);
-
- void start();
- void stop();
-
- Utils::ProcessHandle applicationPID() const;
-
- Utils::ProcessResultData resultData() const;
-
-signals:
- void appendMessage(const QString &message, Utils::OutputFormat format, bool appendNewLine = true);
- void started();
- void done();
-
-private:
- std::unique_ptr<Internal::ApplicationLauncherPrivate> d;
-};
-
-} // namespace ProjectExplorer