aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qquickpathview_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-11-03 15:52:13 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-01 01:14:53 +0100
commit5f5aba5b6e690ca54e66f41b93474f7e67e83c8b (patch)
tree874c9944c5a2b5b0b717da2bd8b018ce291a0ff7 /src/declarative/items/qquickpathview_p.h
parent01479573b98747b39833ab09e2cd9ee618ad2a0f (diff)
Non-blocking view delegate instantiation.
Task-number: QTBUG-21792 Change-Id: I29a4028cd24eb55d4768aacaa3abbd1786061398 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src/declarative/items/qquickpathview_p.h')
-rw-r--r--src/declarative/items/qquickpathview_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/items/qquickpathview_p.h b/src/declarative/items/qquickpathview_p.h
index 657d721ae6..ebc1587b09 100644
--- a/src/declarative/items/qquickpathview_p.h
+++ b/src/declarative/items/qquickpathview_p.h
@@ -64,7 +64,7 @@ class Q_AUTOTEST_EXPORT QQuickPathView : public QQuickItem
Q_PROPERTY(QVariant model READ model WRITE setModel NOTIFY modelChanged)
Q_PROPERTY(QDeclarativePath *path READ path WRITE setPath NOTIFY pathChanged)
Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged)
- Q_PROPERTY(QQuickItem *currentItem READ currentItem NOTIFY currentIndexChanged)
+ Q_PROPERTY(QQuickItem *currentItem READ currentItem NOTIFY currentItemChanged)
Q_PROPERTY(qreal offset READ offset WRITE setOffset NOTIFY offsetChanged)
Q_PROPERTY(QDeclarativeComponent *highlight READ highlight WRITE setHighlight NOTIFY highlightChanged)
@@ -151,6 +151,7 @@ public Q_SLOTS:
Q_SIGNALS:
void currentIndexChanged();
+ void currentItemChanged();
void offsetChanged();
void modelChanged();
void countChanged();
@@ -190,6 +191,7 @@ private Q_SLOTS:
void movementEnding();
void modelUpdated(const QDeclarativeChangeSet &changeSet, bool reset);
void createdItem(int index, QQuickItem *item);
+ void initItem(int index, QQuickItem *item);
void destroyingItem(QQuickItem *item);
void pathUpdated();