66
|
1 |
#ifndef DIRVIEWITEM_H
|
|
2 |
#define DIRVIEWITEM_H
|
|
3 |
|
|
4 |
#include <hbtreeviewitem.h>
|
|
5 |
#include <hbpushbutton.h>
|
|
6 |
|
|
7 |
#include <QPointer>
|
|
8 |
|
|
9 |
class DirViewItem : public HbTreeViewItem
|
|
10 |
{
|
|
11 |
Q_OBJECT
|
|
12 |
|
|
13 |
public:
|
|
14 |
|
|
15 |
explicit DirViewItem(QGraphicsItem *parent = 0);
|
|
16 |
virtual ~DirViewItem();
|
|
17 |
|
|
18 |
enum { Type = Hb::ItemType_Last + 10 };
|
|
19 |
virtual int type() const;
|
|
20 |
|
|
21 |
virtual HbAbstractViewItem* createItem();
|
|
22 |
|
|
23 |
protected slots:
|
|
24 |
|
|
25 |
void buttonReleased();
|
|
26 |
|
|
27 |
protected:
|
|
28 |
|
|
29 |
virtual HbWidgetBase *updateExpandItem();
|
|
30 |
|
|
31 |
private:
|
|
32 |
|
|
33 |
QPointer<HbPushButton> mExpandButton;
|
|
34 |
};
|
|
35 |
|
|
36 |
#endif // DIRVIEWITEM_H
|