forked from qt-creator/qt-creator
DebuggerRunTool: Remove unused methods
Change-Id: I9f55e79bc202eedbf594100155fc18fedaf7b814 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user