summaryrefslogtreecommitdiffstats
path: root/src/pdf/quick/qquickpdfdocument_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-01-15 09:44:10 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-01-30 16:26:56 +0100
commitccbd6fbdbe071f42e1c060ca579786758701f358 (patch)
tree46e6fbfb35ffbd42eaa2bcaabcc78c0d106115f1 /src/pdf/quick/qquickpdfdocument_p.h
parentbc1d6ddeb5076f68e0a758725a20c3f2a6d081f0 (diff)
Add PdfLinkModel
Internal links and web links populate the QALM, which can then be used to drive a Repeater to position highlight rectangles with TapHandlers, which will handle a click by jumping to the link destination. Fixes: QTBUG-77511 Change-Id: I3b5b96d6e82bfd578f31f631f24279173036a080 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/pdf/quick/qquickpdfdocument_p.h')
-rw-r--r--src/pdf/quick/qquickpdfdocument_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/quick/qquickpdfdocument_p.h b/src/pdf/quick/qquickpdfdocument_p.h
index 1ec7edb1a..9817b5eef 100644
--- a/src/pdf/quick/qquickpdfdocument_p.h
+++ b/src/pdf/quick/qquickpdfdocument_p.h
@@ -118,6 +118,7 @@ private:
QUrl m_source;
QPdfDocument m_doc;
+ friend class QQuickPdfLinkModel;
friend class QQuickPdfSearchModel;
friend class QQuickPdfSelection;