src/hbwidgets/itemviews/hbtumbleview.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 3 11d3954df52a
--- a/src/hbwidgets/itemviews/hbtumbleview.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtumbleview.h	Mon May 03 12:48:33 2010 +0300
@@ -37,6 +37,7 @@
     Q_OBJECT
     Q_PROPERTY(QStringList items READ items WRITE setItems)
     Q_PROPERTY(int selected READ selected WRITE setSelected)
+    Q_PROPERTY(bool isLoopingEnabled READ isLoopingEnabled WRITE setLoopingEnabled)
 
 public:
     explicit HbTumbleView(QGraphicsItem *parent=0);
@@ -58,19 +59,21 @@
     int type() const { return Type; }
 
     QGraphicsItem *primitive(HbStyle::Primitive) const;
+    QGraphicsItem *primitive(const QString &itemName) const;
 
 public slots:
-
     void updatePrimitives();
 
 signals:
     void itemSelected(int index);
+
 protected slots:
     void currentIndexChanged(const QModelIndex &current, const QModelIndex &previous);
     void rowsAboutToBeRemoved(const QModelIndex &index, int start, int end);
     void rowsRemoved(const QModelIndex &parent, int start, int end);
     void rowsAboutToBeInserted(const QModelIndex &index, int start, int end);
     void rowsInserted(const QModelIndex &parent, int start, int end);
+
 protected:
     HbTumbleView(HbTumbleViewPrivate &dd, QGraphicsItem *parent = 0);
     void scrollTo(const QModelIndex &index, ScrollHint);
@@ -86,6 +89,7 @@
     Q_DISABLE_COPY(HbTumbleView)
     Q_PRIVATE_SLOT(d_func(), void _q_scrollingStarted())
     Q_PRIVATE_SLOT(d_func(), void _q_scrollingEnded())
+    Q_PRIVATE_SLOT(d_func(), void _q_delayedSelectCurrent())
 };
 
 #endif