diff options
author | Liang Qi <liang.qi@qt.io> | 2016-04-26 14:12:14 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-05-02 13:14:39 +0000 |
commit | 5caa2d03c193f39f9094703d4277122f51a31345 (patch) | |
tree | c2d8a66771aa3d39537af5e2eb89cc638102fa11 /src/quick/items/qquickpathview_p_p.h | |
parent | 434750f1a6cd78b595933210f41e1bf3ab3bd51b (diff) |
Quick: expose movementDirection of PathView
It is needed by the behavior of TabBar in universal style in QtQC2.
[ChangeLog][QtQuick][PathView] Added movementDirection property
Change-Id: Iedc214a12e7336e52125ec82b9ded45502905978
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickpathview_p_p.h')
-rw-r--r-- | src/quick/items/qquickpathview_p_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickpathview_p_p.h b/src/quick/items/qquickpathview_p_p.h index 8236d9efd2..d9c4baf572 100644 --- a/src/quick/items/qquickpathview_p_p.h +++ b/src/quick/items/qquickpathview_p_p.h @@ -171,8 +171,8 @@ public: QPointer<QQmlInstanceModel> model; QVariant modelVariant; MovementReason moveReason; - enum MovementDirection { Shortest, Negative, Positive }; - MovementDirection moveDirection; + QQuickPathView::MovementDirection movementDirection; // default + QQuickPathView::MovementDirection moveDirection; // next movement QQmlOpenMetaObjectType *attType; QQmlComponent *highlightComponent; QQuickItem *highlightItem; |