diff -r 36f374c67aa8 -r 12db4185673b messagingapp/msgui/msgapp/inc/msglistviewitem.h --- a/messagingapp/msgui/msgapp/inc/msglistviewitem.h Tue Jul 06 14:12:40 2010 +0300 +++ b/messagingapp/msgui/msgapp/inc/msglistviewitem.h Wed Aug 18 09:45:25 2010 +0300 @@ -34,7 +34,7 @@ class MsgListViewItem : public HbListViewItem { Q_OBJECT - Q_PROPERTY(bool unReadMsg READ hasUnReadMsg WRITE setHasUnReadMsg) + Q_PROPERTY(bool unReadMsg READ hasUnReadMsg WRITE setHasUnReadMsg) public: /** @@ -71,7 +71,15 @@ * Returns the value of mUnReadMsg * @return bool */ - bool hasUnReadMsg(); + bool hasUnReadMsg(); + +private slots: + + /* + * Handler for orientation changed + * @param orientation Qt::Orientation + */ + void orientationchanged(Qt::Orientation orientation); private: @@ -91,6 +99,16 @@ * Sets the preview text and timestamp. */ void setTimestampAndPreviewText(); + + /* + * set Unread Count and frame + */ + void setUnreadCountStatus(); + + /* + * set common indicator (icon/unread count) + */ + void setCommonIndicator(const QString& string); private: /** @@ -130,7 +148,7 @@ /** * To display the presence indication */ - HbIconItem* mPresenceIndicatorItem; + HbIconItem* mMsgCommonIndicatorItem; };