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

Method addWorker

kdevplatform/outputview/outputmodel.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152 }
153 void addWorker(ParseWorker* worker)
154 {
155 if (!m_thread.isRunning()) {
156 m_thread.start();
157 }
158 worker->moveToThread(&m_thread);
159 }
160private:
161 QThread m_thread;
162};

Callers 1

OutputModelPrivateMethod · 0.80

Calls 2

isRunningMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected