diff -r 2b1b11a301d2 -r 4b195f3bea29 homescreenapp/widgetplugins/hsclockwidgetplugin/inc/hsdigitalclockwidget.h --- a/homescreenapp/widgetplugins/hsclockwidgetplugin/inc/hsdigitalclockwidget.h Tue Jul 06 14:06:53 2010 +0300 +++ b/homescreenapp/widgetplugins/hsclockwidgetplugin/inc/hsdigitalclockwidget.h Wed Aug 18 09:40:07 2010 +0300 @@ -26,7 +26,7 @@ class HbFrameItem; class HbIconItem; -class HbTouchArea; +class QGestureEvent; class HsDigitalClockWidget : public HbWidget { @@ -36,7 +36,6 @@ explicit HsDigitalClockWidget(bool useAmPm = true, QGraphicsItem *parent = 0); ~HsDigitalClockWidget(); - bool eventFilter(QObject *watched, QEvent *event); QPainterPath shape() const; signals: void clockTapped(); @@ -47,12 +46,12 @@ protected: void resizeEvent(QGraphicsSceneResizeEvent *event); + void gestureEvent(QGestureEvent *event); private: Q_DISABLE_COPY(HsDigitalClockWidget) void createPrimitives(); void updatePrimitives(); - void handleMouseReleaseEvent(QGraphicsSceneMouseEvent *event); private: HbFrameItem *mBackground; @@ -63,7 +62,6 @@ HbIconItem *mDigit5; HbIconItem *mDigit6; HbIconItem *mAmPm; - HbTouchArea *mTouchArea; bool mUseAmPm; QMap mDigitMap;