equal
deleted
inserted
replaced
35 class HbAbstractViewItem; |
35 class HbAbstractViewItem; |
36 class HbSearchPanel; |
36 class HbSearchPanel; |
37 class HbLabel; |
37 class HbLabel; |
38 |
38 |
39 class FmFileIconProvider; |
39 class FmFileIconProvider; |
|
40 class FmFileSystemProxyModel; |
40 |
41 |
41 class FmFileBrowseWidget : public HbWidget |
42 class FmFileBrowseWidget : public HbWidget |
42 { |
43 { |
43 Q_OBJECT |
44 Q_OBJECT |
44 |
45 |
72 void setModelFilter( QDir::Filters filters ); |
73 void setModelFilter( QDir::Filters filters ); |
73 |
74 |
74 int checkPathAndSetStyle( const QString& path ); |
75 int checkPathAndSetStyle( const QString& path ); |
75 void sortFiles( TSortType sortType ); |
76 void sortFiles( TSortType sortType ); |
76 void activeSearchPanel(); |
77 void activeSearchPanel(); |
77 |
78 FmEventResponse offerBackEvent(); |
|
79 void setRootLevelPath(const QString &rootPath); |
78 public slots: |
80 public slots: |
79 bool cdUp(); |
81 bool cdUp(); |
80 void setRootPath( const QString &pathName ); |
82 void setRootPath( const QString &pathName ); |
81 |
83 |
82 // triggered when drive is ejected/inserted |
84 // triggered when drive is ejected/inserted |
120 bool isFolder(const QModelIndex &index) const; |
122 bool isFolder(const QModelIndex &index) const; |
121 |
123 |
122 HbTreeView *mTreeView; |
124 HbTreeView *mTreeView; |
123 HbListView *mListView; |
125 HbListView *mListView; |
124 QGraphicsLinearLayout *mLayout; |
126 QGraphicsLinearLayout *mLayout; |
125 QFileSystemModel *mModel; |
127 QFileSystemModel *mSourceModel; |
|
128 FmFileSystemProxyModel *mModel; |
126 |
129 |
127 bool mSelectable; |
130 bool mSelectable; |
128 |
131 |
129 //currentStyle |
132 //currentStyle |
130 Style mStyle; |
133 Style mStyle; |
144 bool mListLongPressed; |
147 bool mListLongPressed; |
145 QModelIndex mActivatedModelIndex; |
148 QModelIndex mActivatedModelIndex; |
146 |
149 |
147 // provide icon from filemanger |
150 // provide icon from filemanger |
148 FmFileIconProvider *mFileIconProvider; |
151 FmFileIconProvider *mFileIconProvider; |
|
152 //root path level to contain back action |
|
153 QString mRootLevelPath; |
149 }; |
154 }; |
150 |
155 |
151 #endif |
156 #endif |