MCPcopy Create free account
hub / github.com/KDE/okular / pageSizeString

Method pageSizeString

core/document.cpp:3184–3193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3182}
3183
3184QString Document::pageSizeString(int page) const
3185{
3186 if (d->m_generator) {
3187 if (d->m_generator->pagesSizeMetric() != Generator::None) {
3188 const Page *p = d->m_pagesVector.at(page);
3189 return d->localizedSize(QSizeF(p->width(), p->height()));
3190 }
3191 }
3192 return QString();
3193}
3194
3195static bool shouldCancelRenderingBecauseOf(const PixmapRequest &executingRequest, const PixmapRequest &otherRequest)
3196{

Callers 2

dataMethod · 0.80

Calls 5

localizedSizeMethod · 0.80
QStringClass · 0.70
pagesSizeMetricMethod · 0.45
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected