Valgrind: Clean up a bit after class merge

Change-Id: I1df02a93ebca318424461c3e48b9bb51133eec8d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-31 13:43:14 +02:00
parent 72aa77ced7
commit 16aaf8c59c
2 changed files with 16 additions and 69 deletions

View File

@@ -48,10 +48,10 @@ public:
Valgrind::Callgrind::ParseData *takeParserData();
/// controller actions
void dump();
void reset();
void pause();
void unpause();
void dump() { run(Dump); }
void reset() { run(ResetEventCounters); }
void pause() { run(Pause); }
void unpause() { run(UnPause); }
/// marks the callgrind process as paused
/// calls pause() and unpause() if there's an active run
@@ -80,21 +80,16 @@ private:
void slotFinished();
void showStatusMessage(const QString &message);
void triggerParse();
void controllerFinished(Option option);
void run(Option option);
/**
* Make data file available locally, triggers @c localParseDataAvailable.
*
* If the valgrind process was run remotely, this transparently
* downloads the data file first and returns a local path.
*/
void getLocalDataFile();
void setValgrindPid(qint64 pid);
void setValgrindRunnable(const ProjectExplorer::Runnable &runnable);
void setValgrindOutputFile(const Utils::FilePath &output) { m_valgrindOutputFile = output; }
void triggerParse();
void controllerFinished(Option option);
void run(Option option);
void cleanupTempFile();
void controllerProcessDone();