forked from qt-creator/qt-creator
ConsoleProcess: Uniform the common interface of QtcProcess
This is a preliminary step before merging ConsoleProcess into QtcProcess. Remove unused stubStarted() and stupStopped() signals. Change-Id: I3b508fa9fb0ff243355f91fd79bc40f8db1c9a82 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -752,7 +752,6 @@ void ConsoleProcess::stubServerShutdown()
|
|||||||
void ConsoleProcess::stubConnectionAvailable()
|
void ConsoleProcess::stubConnectionAvailable()
|
||||||
{
|
{
|
||||||
d->m_stubConnected = true;
|
d->m_stubConnected = true;
|
||||||
emit stubStarted();
|
|
||||||
|
|
||||||
if (d->m_stubConnectTimer) {
|
if (d->m_stubConnectTimer) {
|
||||||
delete d->m_stubConnectTimer;
|
delete d->m_stubConnectTimer;
|
||||||
@@ -865,7 +864,6 @@ void ConsoleProcess::stubExited()
|
|||||||
if (d->m_appPid)
|
if (d->m_appPid)
|
||||||
finish(-1, QProcess::CrashExit);
|
finish(-1, QProcess::CrashExit);
|
||||||
#endif
|
#endif
|
||||||
emit stubStopped();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConsoleProcess::detachStub()
|
void ConsoleProcess::detachStub()
|
||||||
|
@@ -119,10 +119,6 @@ signals:
|
|||||||
void started();
|
void started();
|
||||||
void finished();
|
void finished();
|
||||||
|
|
||||||
// These reflect the state of the console+stub
|
|
||||||
void stubStarted();
|
|
||||||
void stubStopped();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void stubConnectionAvailable();
|
void stubConnectionAvailable();
|
||||||
void readStubOutput();
|
void readStubOutput();
|
||||||
|
Reference in New Issue
Block a user