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

Function run

kdevplatform/language/codecompletion/codecompletionmodel.cpp:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void run() override
63 {
64 //We connect directly, so we can do the pre-grouping within the background thread
65 connect(m_worker, &CodeCompletionWorker::foundDeclarationsReal, m_model,
66 &CodeCompletionModel::foundDeclarations, Qt::QueuedConnection);
67
68 connect(m_model, &CodeCompletionModel::completionsNeeded, m_worker,
69 QOverload<const DUChainPointer<KDevelop::DUContext>&, const Cursor&, View*>::of(&CodeCompletionWorker::computeCompletions),
70 Qt::QueuedConnection);
71 connect(m_model, &CodeCompletionModel::doSpecialProcessingInBackground, m_worker,
72 &CodeCompletionWorker::doSpecialProcessing);
73 exec();
74 }
75
76 CodeCompletionModel* m_model;
77 CodeCompletionWorker* m_worker;

Callers 3

startNextJobMethod · 0.50
startMethod · 0.50
TryLockThreadClass · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected