MCPcopy Create free account
hub / github.com/TeXworks/texworks / resultAt

Method resultAt

modules/QtPDF/src/PDFSearcher.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156QList<Backend::SearchResult> PDFSearcher::resultAt(size_type page) const
157{
158 const QMutexLocker mutexLocker{&m_mutex};
159 if (page < 0 || page >= m_results.size()) {
160 return {};
161 }
162 return m_results.at(page).occurences;
163}
164
165void PDFSearcher::run()
166{

Callers 2

searchResultReadyMethod · 0.80
annotationsReadyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected