diff -r 16ed8d08d0b1 -r 478bc57ad291 emailuis/nmhswidget/inc/nmhswidgettitlerow.h --- a/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Wed Aug 18 09:37:47 2010 +0300 +++ b/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Thu Sep 02 20:15:00 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;