diff -r 780f926bc26c -r f83bd4ae1fe3 emailuis/nmhswidget/inc/nmhswidgettitlerow.h --- a/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Fri Jun 11 16:42:02 2010 +0300 +++ b/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Thu Jun 24 14:32:18 2010 +0300 @@ -23,6 +23,7 @@ //FORWARD DECLARATIONS: class HbLabel; class HbPushButton; +class HbFrameItem; class NmHsWidgetTitleRow : public HbWidget { @@ -31,15 +32,17 @@ public: NmHsWidgetTitleRow(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0); ~NmHsWidgetTitleRow(); - bool loadDocML(); - + QPainterPath shape() const; + bool setupUI(); void setAccountIcon(const QString& accountIconName ); void setExpandCollapseIcon(const bool& expand); - void setFontsColor( bool pressed ); private: - + bool loadDocML(); + bool setupGraphics(); void updateData(); + void setHighlighedFontsColor( bool pressed ); + void showHighlight( bool pressed ); public slots: void updateAccountName(const QString& accountName ); @@ -61,6 +64,7 @@ HbPushButton *mCollapseExpIconLabel; QString mAccountName; int mUnreadCount; + HbFrameItem* mBackgroundLayoutItem; }; #endif // NMHSWIDGETTITLEROW_H_