diff -r 377c906a8701 -r a49bfe5190e4 phoneplugins/infowidgetplugin/infowidget/inc/infowidget.h --- a/phoneplugins/infowidgetplugin/infowidget/inc/infowidget.h Fri Jul 09 15:40:55 2010 +0300 +++ b/phoneplugins/infowidgetplugin/infowidget/inc/infowidget.h Fri Jul 23 12:55:58 2010 +0300 @@ -29,6 +29,7 @@ class QGraphicsSceneMouseEvent; class QGraphicsLinearLayout; class QTranslator; +class QGestureEvent; class HbDialog; class HbIconItem; class HbMarqueeItem; @@ -39,7 +40,8 @@ class HbAction; class InfoWidgetEngine; class InfoWidgetPreferences; - + + // Class declaration class InfoWidget : public HbWidget { @@ -81,17 +83,13 @@ void setSpnDisplay(QString value); protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); - void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + void gestureEvent(QGestureEvent *event); void changeEvent(QEvent *event); void timerEvent(QTimerEvent *event); void updateInfoDisplay(); bool readPersistentPreferences(); void initializeCheckBoxStates(); - bool installTranslator(QString translationFile); - void removeTranslators(); private: void updateItemsVisibility(); @@ -137,9 +135,6 @@ QScopedPointer m_engine; QScopedPointer m_preferences; QScopedPointer m_layoutManager; - - // Translators, owned - QList m_translators; // Widget main layout, not owned QGraphicsLinearLayout *m_layout; @@ -156,7 +151,6 @@ // Flags bool m_layoutChanging; - bool m_dragEvent; bool m_initialized; };