ProcessInterface: Rename interruptProcess() -> interrupt()

Both functionalities meant to do the same.

Change-Id: Idd9373cdb24b7b41f9e4befb09326c339263eeb1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-03-04 08:30:19 +01:00
parent ced2b9c4c0
commit 82108e949a
8 changed files with 19 additions and 27 deletions

View File

@@ -57,6 +57,7 @@ public:
// ProcessInterface related
void start() override;
void interrupt() override;
void terminate() override;
void kill() override;
void close() final;
@@ -79,7 +80,6 @@ public:
bool waitForFinished(int msecs = 30000) final;
void kickoffProcess() final;
void interruptProcess() final;
qint64 applicationMainThreadID() const final;
// ProcessSetupData related
@@ -135,9 +135,6 @@ public:
// These (or some of them) may be potentially moved outside of the class.
// For some we may aggregate in another public utils class (or subclass of QtcProcess)?
// TODO: Should it be a part of ProcessInterface, too?
virtual void interrupt();
// TODO: How below 3 methods relate to QtcProcess? Action: move them somewhere else.
// Helpers to find binaries. Do not use it for other path variables
// and file types.