--- a/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Wed Jun 23 18:00:21 2010 +0300
+++ b/emailuis/nmhswidget/inc/nmhswidgettitlerow.h Tue Jul 06 14:04:34 2010 +0300
@@ -23,6 +23,8 @@
//FORWARD DECLARATIONS:
class HbLabel;
class HbPushButton;
+class HbFrameItem;
+class HbDocumentLoader;
class NmHsWidgetTitleRow : public HbWidget
{
@@ -31,15 +33,17 @@
public:
NmHsWidgetTitleRow(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
~NmHsWidgetTitleRow();
- bool loadDocML();
-
+ QPainterPath shape() const;
+ bool setupUI(HbDocumentLoader &loader);
void setAccountIcon(const QString& accountIconName );
void setExpandCollapseIcon(const bool& expand);
- void setFontsColor( bool pressed );
private:
-
+ bool loadDocML(HbDocumentLoader &loader);
+ bool setupGraphics();
void updateData();
+ void setHighlighedFontsColor( bool pressed );
+ void showHighlight( bool pressed );
public slots:
void updateAccountName(const QString& accountName );
@@ -61,6 +65,7 @@
HbPushButton *mCollapseExpIconLabel;
QString mAccountName;
int mUnreadCount;
+ HbFrameItem* mBackgroundLayoutItem;
};
#endif // NMHSWIDGETTITLEROW_H_