43 void setLoopingEnabled(bool looping); |
43 void setLoopingEnabled(bool looping); |
44 bool isLoopinEnabled()const; |
44 bool isLoopinEnabled()const; |
45 |
45 |
46 protected: |
46 protected: |
47 void updatePrimitives(); |
47 void updatePrimitives(); |
|
48 void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive); |
48 QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const; |
49 QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const; |
49 |
|
50 void rowsAboutToBeInserted(const QModelIndex &index, int start, int end); |
50 void rowsAboutToBeInserted(const QModelIndex &index, int start, int end); |
51 void rowsInserted(const QModelIndex &parent, int start, int end); |
51 void rowsInserted(const QModelIndex &parent, int start, int end); |
52 void rowsRemoved(const QModelIndex &parent, int start, int end); |
52 void rowsRemoved(const QModelIndex &parent, int start, int end); |
53 void gestureEvent(QGestureEvent *event); |
53 void gestureEvent(QGestureEvent *event); |
54 void currentIndexChanged(const QModelIndex ¤t, const QModelIndex &previous); |
54 void currentIndexChanged(const QModelIndex ¤t, const QModelIndex &previous); |
55 void orientationAboutToBeChanged(); |
55 void orientationAboutToBeChanged(); |
56 |
56 |
57 signals: |
57 signals: |
58 void itemSelected(int); |
58 void itemSelected(int); |
59 private: |
59 private: |
60 Q_DECLARE_PRIVATE(HbDatePickerView); |
60 Q_DECLARE_PRIVATE(HbDatePickerView) |
61 Q_PRIVATE_SLOT(d_func(), void _q_scrollingStarted()) |
61 Q_PRIVATE_SLOT(d_func(), void _q_scrollingStarted()) |
62 Q_PRIVATE_SLOT(d_func(), void _q_scrollingEnded()) |
62 Q_PRIVATE_SLOT(d_func(), void _q_scrollingEnded()) |
63 Q_PRIVATE_SLOT(d_func(), void _q_itemSelected(QPointF)) |
63 Q_PRIVATE_SLOT(d_func(), void _q_itemSelected(QPointF)) |
64 }; |
64 }; |
65 |
65 |