equal
deleted
inserted
replaced
40 class HbDialog; |
40 class HbDialog; |
41 class HbAbstractViewItem; |
41 class HbAbstractViewItem; |
42 class HbMenu; |
42 class HbMenu; |
43 class HbSearchPanel; |
43 class HbSearchPanel; |
44 |
44 |
45 class EditorView; |
45 class FbEditorView; |
46 class SearchView; |
46 class SearchView; |
47 class SettingsView; |
47 class SettingsView; |
48 class EngineWrapper; |
48 class EngineWrapper; |
49 class FbFileModel; |
49 class FbFileModel; |
50 class FileBrowserSortFilterProxyModel; |
50 class FileBrowserSortFilterProxyModel; |
65 void fileOverwriteDialog(); |
65 void fileOverwriteDialog(); |
66 void openListDialog(const QStringList &items, const QString &titleText, QObject *receiver, const char *member); |
66 void openListDialog(const QStringList &items, const QString &titleText, QObject *receiver, const char *member); |
67 |
67 |
68 void openPropertyDialog(const QStringList &propertyList, const QString &title); |
68 void openPropertyDialog(const QStringList &propertyList, const QString &title); |
69 |
69 |
|
70 void storeSelectedItemsOrCurrentItem(); |
70 QModelIndex currentItemIndex(); |
71 QModelIndex currentItemIndex(); |
71 void storeSelectedItemsOrCurrentItem(); |
|
72 |
72 |
73 // Menu related methods |
73 // Menu related methods |
74 void createMenu(); |
74 void createMenu(); |
75 void createFileMenu(); |
75 void createFileMenu(); |
76 void createEditMenu(); |
76 void createEditMenu(); |
100 |
100 |
101 void fileNewDirectory(); |
101 void fileNewDirectory(); |
102 void doFileNewDirectory(HbAction *); |
102 void doFileNewDirectory(HbAction *); |
103 |
103 |
104 void fileDelete(); |
104 void fileDelete(); |
105 void doFileDelete(HbAction *); |
105 void doFileDelete(int); |
106 |
106 |
107 void fileRename(); |
107 void fileRename(); |
108 void doFileRename(HbAction *); |
108 void doFileRename(HbAction *); |
109 void doFileRenameFileExist(HbAction *); |
109 void doFileRenameFileExist(int); |
110 |
110 |
111 void fileTouch(); |
111 void fileTouch(); |
112 void doFileTouch(HbAction *); |
112 void doFileTouch(int); |
113 void fileProperties(); |
113 void fileProperties(); |
114 |
114 |
115 void fileChecksumsMD5(); |
115 void fileChecksumsMD5(); |
116 void fileChecksumsMD2(); |
116 void fileChecksumsMD2(); |
117 void fileChecksumsSHA1(); |
117 void fileChecksumsSHA1(); |
124 void editCut(); |
124 void editCut(); |
125 void editCopy(); |
125 void editCopy(); |
126 void editPaste(); |
126 void editPaste(); |
127 |
127 |
128 void editCopyToFolder(); |
128 void editCopyToFolder(); |
129 void doEditCopyToFolder(HbAction *); |
129 void doEditCopyToFolder(int); |
130 |
130 |
131 void editMoveToFolder(); |
131 void editMoveToFolder(); |
132 void doEditMoveToFolder(HbAction *); |
132 void doEditMoveToFolder(int); |
133 |
133 |
134 void editSelect(); |
134 void editSelect(); |
135 void editUnselect(); |
135 void editUnselect(); |
136 void editSelectAll(); |
136 void editSelectAll(); |
137 void editUnselectAll(); |
137 void editUnselectAll(); |
185 signals: |
185 signals: |
186 void aboutToShowDriveView(); |
186 void aboutToShowDriveView(); |
187 void aboutToShowSettingsView(); |
187 void aboutToShowSettingsView(); |
188 void aboutToShowEditorView(const QString &, bool); |
188 void aboutToShowEditorView(const QString &, bool); |
189 void aboutToShowSearchView(const QString &); |
189 void aboutToShowSearchView(const QString &); |
|
190 void aboutToShowAttributesView(const QString &, quint32 &, quint32 &, bool &); |
190 void aboutToSimulateLeave(int); |
191 void aboutToSimulateLeave(int); |
191 |
192 |
192 private slots: |
193 private slots: |
193 void updateOptionMenu(); |
194 void updateOptionMenu(); |
194 void updateContextMenu(); |
195 void updateContextMenu(); |
201 void fileOpen(HbAction *); |
202 void fileOpen(HbAction *); |
202 void fileOverwrite(HbAction *); |
203 void fileOverwrite(HbAction *); |
203 void fileOverwritePostfix(HbAction *); |
204 void fileOverwritePostfix(HbAction *); |
204 |
205 |
205 private: |
206 private: |
|
207 // Internal methods |
|
208 void proceedFileRename(); |
|
209 void proceedFileTouch(bool recurse); |
|
210 |
|
211 private: |
206 EngineWrapper *mEngineWrapper; |
212 EngineWrapper *mEngineWrapper; |
207 |
213 |
208 HbListView *mListView; |
214 HbListView *mListView; |
209 HbToolBar *mToolBar; |
215 HbToolBar *mToolBar; |
210 HbLabel *mNaviPane; |
216 HbLabel *mNaviPane; |
220 FileBrowserSortFilterProxyModel *mSortFilterProxyModel; |
226 FileBrowserSortFilterProxyModel *mSortFilterProxyModel; |
221 OptionMenuActions mOptionMenuActions; |
227 OptionMenuActions mOptionMenuActions; |
222 ContextMenuActions mContextMenuActions; |
228 ContextMenuActions mContextMenuActions; |
223 HbMenu *mContextMenu; |
229 HbMenu *mContextMenu; |
224 HbAction *mToolbarBackAction; |
230 HbAction *mToolbarBackAction; |
|
231 HbAction* mToolbarFilterAction; |
|
232 HbAction *mToolbarPasteAction; |
225 |
233 |
226 // flags |
234 // flags |
227 bool mItemHighlighted; |
235 bool mItemHighlighted; |
228 bool mLocationChanged; |
236 bool mLocationChanged; |
229 // flag for removing source file after copied to target file |
237 // flag for removing source file after copied to target file |