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

Method start

plugins/grepview/grepjob.cpp:283–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void GrepJob::start()
284{
285 if (m_workState != WorkUnstarted) {
286 qCWarning(PLUGIN_GREPVIEW) << "cannot start a grep job more than once, current state:" << m_workState;
287 return;
288 }
289
290 m_workState = WorkStarting;
291
292 m_outputModel->clear();
293
294 connect(this, &GrepJob::foundMatches,
295 m_outputModel, &GrepOutputModel::appendOutputs, Qt::QueuedConnection);
296
297 QMetaObject::invokeMethod(this, "slotWork", Qt::QueuedConnection);
298}
299
300bool GrepJob::doKill()
301{

Callers 7

slotWorkMethod · 0.45
paintMethod · 0.45
sizeHintMethod · 0.45
lineNumberMethod · 0.45
dataMethod · 0.45
doReplacementsMethod · 0.45
testFindMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by 1

testFindMethod · 0.36