equal
deleted
inserted
replaced
65 virtual void scrollToPosition(const QPointF& pos, bool animate); |
65 virtual void scrollToPosition(const QPointF& pos, bool animate); |
66 void scrollTo(const QModelIndex &index); |
66 void scrollTo(const QModelIndex &index); |
67 |
67 |
68 void itemDataChanged(const QModelIndex &firstIndex, const QModelIndex &lastIndex); |
68 void itemDataChanged(const QModelIndex &firstIndex, const QModelIndex &lastIndex); |
69 |
69 |
70 void addItems(int start, int end); |
70 virtual void addItems(int start, int end); |
71 void removeItems(int start, int end); |
71 virtual void removeItems(int start, int end); |
72 void moveItems(int start, int end, int destination); |
72 virtual void moveItems(int start, int end, int destination); |
73 |
73 |
74 bool getItemPoints(int index, QPolygonF& points); |
74 bool getItemPoints(int index, QPolygonF& points); |
75 |
75 |
76 QList<QModelIndex> getVisibleItemIndices() const; |
76 QList<QModelIndex> getVisibleItemIndices() const; |
77 |
77 |
92 |
92 |
93 Qt::Orientation scrollDirection() const; |
93 Qt::Orientation scrollDirection() const; |
94 qreal scrollPosition() const; |
94 qreal scrollPosition() const; |
95 |
95 |
96 void setHandleLongPress(bool handleLongPress); |
96 void setHandleLongPress(bool handleLongPress); |
|
97 |
|
98 // Overrides the type of HbWidget |
|
99 virtual int type() const; |
97 |
100 |
98 signals: |
101 signals: |
99 |
102 |
100 // emit this signal when scrolling. for example scrollbar can be connected to this signal. |
103 // emit this signal when scrolling. for example scrollbar can be connected to this signal. |
101 void scrollPositionChanged(qreal value, bool scrollBarAnimation); |
104 void scrollPositionChanged(qreal value, bool scrollBarAnimation); |
223 Qt::Orientation mOrientation; |
226 Qt::Orientation mOrientation; |
224 QModelIndex mDelayedScrollToIndex; |
227 QModelIndex mDelayedScrollToIndex; |
225 bool mIgnoreGestureAction; |
228 bool mIgnoreGestureAction; |
226 bool mHandleLongPress; |
229 bool mHandleLongPress; |
227 bool mEmitScrollingEnded; |
230 bool mEmitScrollingEnded; |
|
231 bool mReflectionsEnabled; |
228 }; |
232 }; |
229 |
233 |
230 #endif |
234 #endif |