DebuggerRunTool: Remove unused methods

Change-Id: I9f55e79bc202eedbf594100155fc18fedaf7b814
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-07-21 14:41:13 +02:00
parent 0f91561667
commit be0e0490af
2 changed files with 0 additions and 13 deletions

View File

@@ -305,11 +305,6 @@ void DebuggerRunTool::setUseTerminal(bool on)
} }
} }
void DebuggerRunTool::setRunAsRoot(bool on)
{
m_runParameters.runAsRoot = on;
}
void DebuggerRunTool::setCommandsAfterConnect(const QString &commands) void DebuggerRunTool::setCommandsAfterConnect(const QString &commands)
{ {
m_runParameters.commandsAfterConnect = commands; m_runParameters.commandsAfterConnect = commands;
@@ -694,11 +689,6 @@ bool DebuggerRunTool::isQmlDebugging() const
return m_runParameters.isQmlDebugging; return m_runParameters.isQmlDebugging;
} }
int DebuggerRunTool::portsUsedByDebugger() const
{
return isCppDebugging() + isQmlDebugging();
}
void DebuggerRunTool::setUsePortsGatherer(bool useCpp, bool useQml) void DebuggerRunTool::setUsePortsGatherer(bool useCpp, bool useQml)
{ {
QTC_ASSERT(!d->portsGatherer, reportFailure(); return); QTC_ASSERT(!d->portsGatherer, reportFailure(); return);

View File

@@ -39,7 +39,6 @@ public:
bool isCppDebugging() const; bool isCppDebugging() const;
bool isQmlDebugging() const; bool isQmlDebugging() const;
int portsUsedByDebugger() const;
void setUsePortsGatherer(bool useCpp, bool useQml); void setUsePortsGatherer(bool useCpp, bool useQml);
DebugServerPortsGatherer *portsGatherer() const; DebugServerPortsGatherer *portsGatherer() const;
@@ -83,12 +82,10 @@ public:
void setUseCtrlCStub(bool on); void setUseCtrlCStub(bool on);
void setBreakOnMain(bool on); void setBreakOnMain(bool on);
void setUseTerminal(bool on); void setUseTerminal(bool on);
void setRunAsRoot(bool on);
void setCommandsAfterConnect(const QString &commands); void setCommandsAfterConnect(const QString &commands);
void setCommandsForReset(const QString &commands); void setCommandsForReset(const QString &commands);
void setServerStartScript(const Utils::FilePath &serverStartScript);
void setDebugInfoLocation(const Utils::FilePath &debugInfoLocation); void setDebugInfoLocation(const Utils::FilePath &debugInfoLocation);
void setQmlServer(const QUrl &qmlServer); void setQmlServer(const QUrl &qmlServer);