aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsplugin.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2022-03-02 04:12:25 +0100
committerJarek Kobus <[email protected]>2022-03-02 13:30:39 +0000
commit8e0ae8ba96ec5ca4512e39a16135e2279e88a4fb (patch)
tree0ffc1fb82bf551353e0ff5ade46af0c6565b4fc6 /src/plugins/cvs/cvsplugin.cpp
parent6ff1723c4cb709ebffe2bb0c593371c51e6cf736 (diff)
QtcProcess: Limit the inclusion of qtcprocess.h
Move the rest of QtcProcess enums to processenums.h. Move ExitCodeInterpreter into processenums.h. Remove superfluous Utils:: prefix. Change-Id: Iaa596f353d33d6930085a621b114cc15a35caa80 Reviewed-by: hjk <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index b619c493f32..775978b7804 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -204,8 +204,8 @@ public:
{
if (cmd == DiffCommand) {
return [](int code) {
- return (code < 0 || code > 2) ? QtcProcess::FinishedWithError
- : QtcProcess::FinishedWithSuccess;
+ return (code < 0 || code > 2) ? ProcessResult::FinishedWithError
+ : ProcessResult::FinishedWithSuccess;
};
}
return {};
@@ -1452,15 +1452,15 @@ CvsResponse CvsPluginPrivate::runCvs(const FilePath &workingDirectory,
response.stdErr = proc.stdErr();
response.stdOut = proc.stdOut();
switch (proc.result()) {
- case QtcProcess::FinishedWithSuccess:
+ case ProcessResult::FinishedWithSuccess:
response.result = CvsResponse::Ok;
break;
- case QtcProcess::FinishedWithError:
+ case ProcessResult::FinishedWithError:
response.result = CvsResponse::NonNullExitCode;
break;
- case QtcProcess::TerminatedAbnormally:
- case QtcProcess::StartFailed:
- case QtcProcess::Hang:
+ case ProcessResult::TerminatedAbnormally:
+ case ProcessResult::StartFailed:
+ case ProcessResult::Hang:
break;
}