summaryrefslogtreecommitdiffstats
path: root/src/pdf/api/qpdfselection_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/api/qpdfselection_p.h')
-rw-r--r--src/pdf/api/qpdfselection_p.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pdf/api/qpdfselection_p.h b/src/pdf/api/qpdfselection_p.h
index 37145f7f9..0577e5a31 100644
--- a/src/pdf/api/qpdfselection_p.h
+++ b/src/pdf/api/qpdfselection_p.h
@@ -46,12 +46,18 @@ class QPdfSelectionPrivate : public QSharedData
{
public:
QPdfSelectionPrivate() = default;
- QPdfSelectionPrivate(const QString &text, QVector<QPolygonF> bounds)
+ QPdfSelectionPrivate(const QString &text, QVector<QPolygonF> bounds, QRectF boundingRect, int startIndex, int endIndex)
: text(text),
- bounds(bounds) { }
+ bounds(bounds),
+ boundingRect(boundingRect),
+ startIndex(startIndex),
+ endIndex(endIndex) { }
QString text;
QVector<QPolygonF> bounds;
+ QRectF boundingRect;
+ int startIndex;
+ int endIndex;
};
QT_END_NAMESPACE