src/hbwidgets/itemviews/hbgridviewitem.h
changeset 34 ed14f46c0e55
parent 2 06ff229162e9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    29 #include <hbglobal.h>
    29 #include <hbglobal.h>
    30 #include <hbnamespace.h>
    30 #include <hbnamespace.h>
    31 #include <hbabstractviewitem.h>
    31 #include <hbabstractviewitem.h>
    32           
    32           
    33 class HbGridViewItemPrivate;
    33 class HbGridViewItemPrivate;
    34 class HbStyleOptionGridViewItem;
    34 class HbStylePrimitiveData;
       
    35 
       
    36 class QGraphicsObject;
       
    37 class QPointF;
    35 
    38 
    36 class HB_WIDGETS_EXPORT HbGridViewItem: public HbAbstractViewItem
    39 class HB_WIDGETS_EXPORT HbGridViewItem: public HbAbstractViewItem
    37 {
    40 {
    38 Q_OBJECT
    41 Q_OBJECT
    39 
    42 
    59 protected:
    62 protected:
    60     HbGridViewItem(const HbGridViewItem &source);
    63     HbGridViewItem(const HbGridViewItem &source);
    61     HbGridViewItem &operator=(const HbGridViewItem &source);
    64     HbGridViewItem &operator=(const HbGridViewItem &source);
    62 
    65 
    63     HbGridViewItem(HbGridViewItemPrivate &dd, QGraphicsItem *parent);
    66     HbGridViewItem(HbGridViewItemPrivate &dd, QGraphicsItem *parent);
    64     void initStyleOption(HbStyleOptionGridViewItem *option) const;
       
    65     QPainterPath shape() const;
    67     QPainterPath shape() const;
    66     void polish(HbStyleParameters& params);
    68     void polish(HbStyleParameters& params);
       
    69     void initPrimitiveData( HbStylePrimitiveData     *primitiveData, 
       
    70                             const QGraphicsObject    *primitive);
    67 
    71 
    68 private:
    72 private:
    69     Q_DECLARE_PRIVATE_D(d_ptr, HbGridViewItem)
    73     Q_DECLARE_PRIVATE_D(d_ptr, HbGridViewItem)
    70 };
    74 };
    71 
    75