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

Method progressValue

modules/QtPDF/src/PDFSearcher.cpp:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138PDFSearcher::size_type PDFSearcher::progressValue() const
139{
140 const QMutexLocker mutexLocker{&m_mutex};
141 size_type retVal{0};
142 for (const SearchResult & result : m_results) {
143 if (result.finished) {
144 ++retVal;
145 }
146 }
147 return retVal;
148}
149
150PDFSearcher::size_type PDFSearcher::progressMaximum() const
151{

Callers 1

searchResultReadyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected