| 190 | } |
| 191 | |
| 192 | const QImage *ContinuousPageProvider::image(int pageIndex) const |
| 193 | { |
| 194 | auto it = cache.constFind(pageIndex); |
| 195 | if (it == cache.constEnd() || it.value().isNull()) { |
| 196 | return nullptr; |
| 197 | } |
| 198 | return &it.value(); |
| 199 | } |
| 200 | |
| 201 | void ContinuousPageProvider::onRawDataReady(int page) |
| 202 | { |
no outgoing calls
no test coverage detected