--- a/src/hbwidgets/sliders/hbprogresssliderhandle_p.h Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbwidgets/sliders/hbprogresssliderhandle_p.h Thu Sep 02 20:44:51 2010 +0300
@@ -77,16 +77,16 @@
enum { Type = HbPrivate::ItemType_ProgressSliderHandle };
int type() const { return Type; }
void setHandleIcon(const HbIcon &icon);
- void handleTrackRelease(QGraphicsSceneMouseEvent * event);
- void handleTrackPress(QGraphicsSceneMouseEvent * event);
+ void handleTrackRelease(QGestureEvent *event);
+ void handleTrackPress(QGestureEvent *event);
QVariant processItemChange(const QVariant &value);
void setHandlePosForValue(int progressValue);
QPointF normalizedPos(const QPointF& pos,bool inverted) const;
bool isHandlePressed() const;
bool isHandleMoving() const;
-
QGraphicsItem* primitive(HbStyle::Primitive primitive) const;
-
+ void setPressedState();
+ void setReleasedState();
public slots:
void updatePrimitives();
@@ -106,6 +106,7 @@
QGraphicsItem *mHandleIconItem;
QGraphicsItem *mTouchItem;
HbIcon mHandleIcon;
+ QPointF oldCord;
};
#endif //HBPROGRESSSLIDERHANDLE_P_H