--- a/src/hbwidgets/sliders/hbprogressslider.h Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/sliders/hbprogressslider.h Mon Oct 18 18:23:13 2010 +0300
@@ -60,12 +60,14 @@
void setHandleIcon(const QString& handlePath );
QString handleIcon() const;
- QGraphicsItem* primitive(HbStyle::Primitive primitive) const;
+ QGraphicsItem *primitive(const QString &itemName) const;
signals:
void sliderPressed();
void sliderReleased();
void sliderMoved(int value);
+ void trackPressed();
+ void trackReleased();
public slots :
void setSliderValue(int value);
@@ -75,11 +77,14 @@
HbProgressSlider(HbProgressSliderPrivate &dd,QGraphicsItem *parent = 0);
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
- void showEvent( QShowEvent * event );
+ void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
+ void gestureEvent(QGestureEvent *event);
+ void showEvent( QShowEvent *event );
QVariant itemChange(GraphicsItemChange change,const QVariant & value);
bool sceneEventFilter(QGraphicsItem *obj,QEvent *event);
void initStyleOption( HbStyleOptionProgressSlider *option ) const;
+ void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive);
private:
Q_DECLARE_PRIVATE_D( d_ptr, HbProgressSlider)