ganeswidgets/inc/hgmediawall_p.h
changeset 3 c863538fcbb6
parent 1 e48454f237ca
child 11 42505cd701c6
child 13 8bf920201dea
--- a/ganeswidgets/inc/hgmediawall_p.h	Fri May 14 16:57:01 2010 +0300
+++ b/ganeswidgets/inc/hgmediawall_p.h	Thu May 27 13:59:05 2010 +0300
@@ -22,6 +22,9 @@
 #include "hgwidgets_p.h"
 
 class HgCoverflowContainer;
+class HgCenterItemArea;
+class HbIconItem;
+class HbTextItem;
 
 class HgMediawallPrivate : public HgWidgetPrivate
 {
@@ -34,18 +37,21 @@
 
     void init(Qt::Orientation orientation);
 
-    void setTitlePosition(HgMediawall::LabelPosition position);
-    HgMediawall::LabelPosition titlePosition() const;
-    void setDescriptionPosition(HgMediawall::LabelPosition position);
-    HgMediawall::LabelPosition descriptionPosition() const;
     void setTitleFontSpec(const HbFontSpec &fontSpec);
     HbFontSpec titleFontSpec() const;
     void setDescriptionFontSpec(const HbFontSpec &fontSpec);
     HbFontSpec descriptionFontSpec() const;
 
-    
     HgCoverflowContainer *container();
     const HgCoverflowContainer *container() const;
+
+private: // From HgWidgetPrivate
+    void updateCurrentItem(const QModelIndex &currentItem);
+
+private:
+    HbTextItem *mTitleItem;
+    HbTextItem *mDescriptionItem;
+    HgCenterItemArea *mCenterItemArea; // Dummy item for calculating correct position for center item
 };
 
 #endif  //HGMEDIAWALL_P_H