ganeswidgets/inc/hgmediawall_p.h
changeset 12 6c0ec0ccd2d4
parent 11 42505cd701c6
equal deleted inserted replaced
11:42505cd701c6 12:6c0ec0ccd2d4
    21 #include <hgwidgets/hgmediawall.h>
    21 #include <hgwidgets/hgmediawall.h>
    22 #include "hgwidgets_p.h"
    22 #include "hgwidgets_p.h"
    23 
    23 
    24 class HgCoverflowContainer;
    24 class HgCoverflowContainer;
    25 class HgCenterItemArea;
    25 class HgCenterItemArea;
    26 class HbIconItem;
       
    27 class HbTextItem;
    26 class HbTextItem;
    28 
    27 
    29 class HgMediawallPrivate : public HgWidgetPrivate
    28 class HgMediawallPrivate : public HgWidgetPrivate
    30 {
    29 {
    31     Q_DECLARE_PUBLIC(HgMediawall)
    30     Q_DECLARE_PUBLIC(HgMediawall)
    39 
    38 
    40     void setTitleFontSpec(const HbFontSpec &fontSpec);
    39     void setTitleFontSpec(const HbFontSpec &fontSpec);
    41     HbFontSpec titleFontSpec() const;
    40     HbFontSpec titleFontSpec() const;
    42     void setDescriptionFontSpec(const HbFontSpec &fontSpec);
    41     void setDescriptionFontSpec(const HbFontSpec &fontSpec);
    43     HbFontSpec descriptionFontSpec() const;
    42     HbFontSpec descriptionFontSpec() const;
    44     
       
    45     void setTitleAndDescriptionVisibility(HgMediawall::TitleAndDescrVisibility visibility);
       
    46     HgMediawall::TitleAndDescrVisibility titleAndDescriptionVisibility() const;
       
    47 
    43 
    48     HgCoverflowContainer *container();
    44     HgCoverflowContainer *container();
    49     const HgCoverflowContainer *container() const;
    45     const HgCoverflowContainer *container() const;
    50 
    46 
    51 private: // From HgWidgetPrivate
    47 private: // From HgWidgetPrivate
    52     void updateCurrentItem(const QModelIndex &currentItem);
    48     void updateCurrentItem(const QModelIndex &currentItem);
    53 
    49     void handleThemeChanged();
       
    50     
    54 private:
    51 private:
    55     HbTextItem *mTitleItem;
    52     HbTextItem *mTitleItem;
    56     HbTextItem *mDescriptionItem;
    53     HbTextItem *mDescriptionItem;
    57     HgCenterItemArea *mCenterItemArea; // Dummy item for calculating correct position for center item
    54     HgCenterItemArea *mCenterItemArea; // Dummy item for calculating correct position for center item
    58     
       
    59     HgMediawall::TitleAndDescrVisibility mTitleAndDescrVisibility;
       
    60 };
    55 };
    61 
    56 
    62 #endif  //HGMEDIAWALL_P_H
    57 #endif  //HGMEDIAWALL_P_H
    63 
    58