66
|
1 |
#ifndef GREENODDVIEWITEM_H
|
|
2 |
#define GREENODDVIEWITEM_H
|
|
3 |
|
|
4 |
#include <hblistviewitem.h>
|
|
5 |
|
|
6 |
class QGraphicsItem;
|
|
7 |
class QPainter;
|
|
8 |
class QStyleOptionGraphicsItem;
|
|
9 |
class QWidget;
|
|
10 |
class QModelIndex;
|
|
11 |
|
|
12 |
class GreenOddViewItem : public HbListViewItem
|
|
13 |
{
|
|
14 |
public:
|
|
15 |
explicit GreenOddViewItem(QGraphicsItem* parent=0);
|
|
16 |
virtual ~GreenOddViewItem();
|
|
17 |
|
|
18 |
enum { Type = Hb::ItemType_Last + 1001 };
|
|
19 |
virtual int type() const;
|
|
20 |
|
|
21 |
virtual HbAbstractViewItem* createItem();
|
|
22 |
virtual bool canSetModelIndex(const QModelIndex &index) const;
|
|
23 |
virtual void paint( QPainter *painter,
|
|
24 |
const QStyleOptionGraphicsItem *option,
|
|
25 |
QWidget *widget);
|
|
26 |
};
|
|
27 |
|
|
28 |
#endif // GREENODDVIEWITEM_H
|