MCPcopy Create free account
hub / github.com/KDE/kdevelop / flushBuffers

Method flushBuffers

kdevplatform/util/processlinemaker.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void ProcessLineMaker::flushBuffers()
119{
120 Q_D(ProcessLineMaker);
121
122 if (!d->stdoutbuf.isEmpty())
123 emit receivedStdoutLines(QStringList(QString::fromLocal8Bit(d->stdoutbuf)));
124 if (!d->stderrbuf.isEmpty())
125 emit receivedStderrLines(QStringList(QString::fromLocal8Bit(d->stderrbuf)));
126 discardBuffers();
127}
128
129}
130

Callers 8

procErrorMethod · 0.80
procFinishedMethod · 0.80
doKillMethod · 0.80
childProcessErrorMethod · 0.80
childProcessExitedMethod · 0.80
processFinishedMethod · 0.80
processFinishedMethod · 0.80
processFinishedMethod · 0.80

Calls 2

QStringListClass · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected