diff options
author | Jarek Kobus <[email protected]> | 2022-02-28 16:12:12 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2022-03-02 09:52:09 +0000 |
commit | d3c1632a0f227c4ff8d888e72d18934826e78d01 (patch) | |
tree | 26b6b5c068ca5d19c7bee91f16100a408694475a /src/libs/ssh/sshremoteprocessrunner.h | |
parent | b7abe6a6ac58764c802548e3b986db7d5140339b (diff) |
SshRemoteProcessRunner: Unify API
Make the API more similar to QtcProcess API.
Drop process prefix for getters.
Change-Id: I21b99bb5b11956d923c0e526c08bbea9686e5c95
Reviewed-by: hjk <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshremoteprocessrunner.h')
-rw-r--r-- | src/libs/ssh/sshremoteprocessrunner.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/ssh/sshremoteprocessrunner.h b/src/libs/ssh/sshremoteprocessrunner.h index 0a1af87e5b1..9003bba3e92 100644 --- a/src/libs/ssh/sshremoteprocessrunner.h +++ b/src/libs/ssh/sshremoteprocessrunner.h @@ -44,11 +44,11 @@ public: QString lastConnectionErrorString() const; - bool isProcessRunning() const; + bool isRunning() const; void cancel(); - QProcess::ExitStatus processExitStatus() const; - int processExitCode() const; - QString processErrorString() const; + QProcess::ExitStatus exitStatus() const; + int exitCode() const; + QString errorString() const; QByteArray readAllStandardOutput(); QByteArray readAllStandardError(); |