forked from qt-creator/qt-creator
Valgrind: Simplify device setup and handling
Make isLocal() less intrusively used and correct. Use the stored device more often, also handle errors more quickly. Change-Id: I146d1f5788ea79d0a9d7b058c81908d451cf00d0 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -36,8 +36,6 @@
|
||||
|
||||
#include <QProcess>
|
||||
|
||||
namespace Utils { class SshConnectionParameters; }
|
||||
|
||||
namespace Valgrind {
|
||||
|
||||
class ValgrindProcess;
|
||||
@@ -58,11 +56,8 @@ public:
|
||||
void setDebuggee(const ProjectExplorer::StandardRunnable &debuggee) ;
|
||||
void setProcessChannelMode(QProcess::ProcessChannelMode mode);
|
||||
|
||||
void setUseStartupProject(bool useStartupProject);
|
||||
bool useStartupProject() const;
|
||||
|
||||
void setConnectionParameters(const QSsh::SshConnectionParameters &connParams);
|
||||
const QSsh::SshConnectionParameters &connectionParameters() const;
|
||||
void setDevice(const ProjectExplorer::IDevice::ConstPtr &device);
|
||||
ProjectExplorer::IDevice::ConstPtr device() const;
|
||||
|
||||
void waitForFinished() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user