aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickpathview_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickpathview_p_p.h')
-rw-r--r--src/quick/items/qquickpathview_p_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/quick/items/qquickpathview_p_p.h b/src/quick/items/qquickpathview_p_p.h
index 61c0b2ce62..3b7487afbf 100644
--- a/src/quick/items/qquickpathview_p_p.h
+++ b/src/quick/items/qquickpathview_p_p.h
@@ -31,6 +31,8 @@ QT_REQUIRE_CONFIG(quick_pathview);
#include <private/qquicktimeline_p_p.h>
#include <private/qpodvector_p.h>
+#include <QtCore/qpointer.h>
+
QT_BEGIN_NAMESPACE
class QQmlOpenMetaObjectType;
@@ -73,7 +75,7 @@ public:
void clear();
void updateMappedRange();
qreal positionOfIndex(qreal index) const;
- bool isInBound(qreal position, qreal lower, qreal upper) const;
+ bool isInBound(qreal position, qreal lower, qreal upper, bool emptyRangeCheck = true) const;
void createHighlight();
void updateHighlight();
void setHighlightPosition(qreal pos);
@@ -138,6 +140,7 @@ public:
int pathItems;
int requestedIndex;
int cacheSize;
+ int requestedCacheSize;
qreal requestedZ;
QList<QQuickItem *> items;
QList<QQuickItem *> itemCache;