forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Cppcheck::Internal {
|
||||
CppcheckRunner::CppcheckRunner(CppcheckTool &tool) : m_tool(tool)
|
||||
{
|
||||
if (HostOsInfo::hostOs() == OsTypeLinux) {
|
||||
QtcProcess getConf;
|
||||
Process getConf;
|
||||
getConf.setCommand({"getconf", {"ARG_MAX"}});
|
||||
getConf.start();
|
||||
getConf.waitForFinished(2000);
|
||||
@@ -31,8 +31,8 @@ CppcheckRunner::CppcheckRunner(CppcheckTool &tool) : m_tool(tool)
|
||||
m_tool.parseErrorLine(line);
|
||||
});
|
||||
|
||||
connect(&m_process, &QtcProcess::started, &m_tool, &CppcheckTool::startParsing);
|
||||
connect(&m_process, &QtcProcess::done, this, &CppcheckRunner::handleDone);
|
||||
connect(&m_process, &Process::started, &m_tool, &CppcheckTool::startParsing);
|
||||
connect(&m_process, &Process::done, this, &CppcheckRunner::handleDone);
|
||||
|
||||
m_queueTimer.setSingleShot(true);
|
||||
const int checkDelayInMs = 200;
|
||||
|
||||
@@ -35,7 +35,7 @@ private:
|
||||
void handleDone();
|
||||
|
||||
CppcheckTool &m_tool;
|
||||
Utils::QtcProcess m_process;
|
||||
Utils::Process m_process;
|
||||
Utils::FilePath m_binary;
|
||||
QString m_arguments;
|
||||
QHash<QString, Utils::FilePaths> m_queue;
|
||||
|
||||
Reference in New Issue
Block a user