--- a/homescreen/widgetplugins/hsbookmarkwidgetplugin/inc/hsbookmarkwidget.h Thu Sep 23 15:32:11 2010 -0400
+++ b/homescreen/widgetplugins/hsbookmarkwidgetplugin/inc/hsbookmarkwidget.h Fri Oct 15 17:30:59 2010 -0400
@@ -23,7 +23,7 @@
class HbFrameItem;
class HbIconItem;
class HbTextItem;
-class HbTouchArea;
+class QGestureEvent;
class HsBookmarkWidget : public HbWidget
{
@@ -65,9 +65,10 @@
QString faviconFileName() const;
void setFaviconPath(const QString &faviconPath);
QString faviconPath() const;
-
- bool eventFilter(QObject *watched, QEvent *event);
+protected:
+ void gestureEvent(QGestureEvent *event);
+
public slots:
void onInitialize();
@@ -75,11 +76,9 @@
void onHide();
private:
-
- void handleMousePressEvent(QGraphicsSceneMouseEvent *event);
- void handleMouseMoveEvent(QGraphicsSceneMouseEvent *event);
- void handleMouseReleaseEvent(QGraphicsSceneMouseEvent *event);
-
+
+ void launch();
+
void createPrimitives();
void setBackgroundToNormal();
@@ -98,7 +97,6 @@
HbFrameItem *mBackground;
HbIconItem *mIcon;
HbTextItem *mText;
- HbTouchArea *mTouchArea;
QString mRootPath;
QString mBookmarkTitle;