diff -r ae34e1715e21 -r a8c646b56683 emailuis/nmhswidget/inc/nmhswidgettitlerow.h --- a/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Thu Aug 05 21:09:09 2010 +0300 +++ b/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Mon Aug 23 23:32:31 2010 +0300 @@ -34,9 +34,11 @@ NmHsWidgetTitleRow(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0); ~NmHsWidgetTitleRow(); QPainterPath shape() const; + qreal containerHeight(); bool setupUI(HbDocumentLoader &loader); void setAccountIcon(const QString& accountIconName ); void setExpandCollapseIcon(const bool& expand); + void gestureEvent(QGestureEvent *event); private: bool loadDocML(HbDocumentLoader &loader); @@ -54,11 +56,10 @@ void mailboxLaunchTriggered(); protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); bool event( QEvent *event ); private: + HbWidget *mContainer; HbLabel *mMailboxIcon; HbLabel *mMailboxInfo; HbLabel *mUnreadCountLabel;