emailuis/nmhswidget/inc/nmhswidgettitlerow.h
changeset 23 2dc6caa42ec3
parent 18 578830873419
child 30 759dc5235cdb
--- a/emailuis/nmhswidget/inc/nmhswidgettitlerow.h	Mon May 03 12:23:15 2010 +0300
+++ b/emailuis/nmhswidget/inc/nmhswidgettitlerow.h	Fri May 14 15:41:10 2010 +0300
@@ -22,6 +22,7 @@
 
 //FORWARD DECLARATIONS:
 class HbLabel;
+class HbPushButton;
 
 class NmHsWidgetTitleRow : public HbWidget
 {
@@ -30,18 +31,30 @@
 public:
     NmHsWidgetTitleRow(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
     ~NmHsWidgetTitleRow();
+    bool loadDocML();
+    
+    void setAccountIcon(const QString& accountIconName );
     
 private:
-    void loadDocML();
+
     void updateData();
     
 public slots: 
     void updateAccountName(const QString& accountName );
     void updateUnreadCount(const int& unreadCount );
 
+signals:
+    void expandCollapseButtonPressed();
+    void mailboxLaunchTriggered();
+    
+protected:
+    void mousePressEvent(QGraphicsSceneMouseEvent *event);
+    
 private:
     HbLabel *mMailboxIcon;
     HbLabel *mMailboxInfo;
+    HbLabel *mUnreadCountLabel;
+    HbPushButton *mCollapseExpIconLabel;
     QString mAccountName;
     int mUnreadCount;
 };