equal
deleted
inserted
replaced
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 * Version : %version: 4 % |
16 * Version : %version: 6 % |
17 */ |
17 */ |
18 #ifndef CONTENTWIDGET_H |
18 #ifndef CONTENTWIDGET_H |
19 #define CONTENTWIDGET_H |
19 #define CONTENTWIDGET_H |
20 |
20 |
21 #include <hbview.h> |
21 #include <HbView> |
22 #include <QGraphicsWidget> |
22 #include <QGraphicsWidget> |
23 #include <QAbstractItemModel> |
23 #include <QAbstractItemModel> |
24 #include <QtGui> |
24 #include <QtGui> |
25 #include <hbgridviewitem.h> |
25 #include <HbGridViewItem> |
26 |
26 |
27 #include <QtGui> |
27 #include <QtGui> |
28 #include <hbapplication.h> |
28 #include <HbApplication> |
29 #include <hblistview.h> |
29 #include <HbListview> |
30 #include <hbicon.h> |
30 #include <HbIcon> |
31 #include <hblabel.h> |
31 #include <HbLabel> |
32 #include <hbgridview.h> |
32 #include <HbGridView> |
33 #include <hbgridviewitem.h> |
33 #include <HbGridViewItem> |
34 #include <hbmainwindow.h> |
34 #include <HbMainWindow> |
35 #include <hbmenu.h> |
35 #include <HbMenu> |
36 #include <QDirModel> |
36 #include <QDirModel> |
37 |
37 |
38 class QTimer; |
38 class QTimer; |
39 class HbMenu; |
39 class HbMenu; |
40 class HbMainWindow; |
40 class HbMainWindow; |
65 void addChangeViewMenu(HbMenu* parent); |
65 void addChangeViewMenu(HbMenu* parent); |
66 void addCacheProxyModelMenu(HbMenu* parent); |
66 void addCacheProxyModelMenu(HbMenu* parent); |
67 void addDataProviderMenu(HbMenu* parent); |
67 void addDataProviderMenu(HbMenu* parent); |
68 |
68 |
69 private: |
69 private: |
70 HbAbstractItemView* mView; |
70 HbWidget* mView; |
71 HgCacheProxyModel *mModel; |
71 HgCacheProxyModel *mModel; |
72 |
72 |
73 MyDataProvider *mMyDataProvider; |
73 MyDataProvider *mMyDataProvider; |
74 HbView* mMainView; |
74 HbView* mMainView; |
75 QTimer *mSortTestTimer; |
75 QTimer *mSortTestTimer; |