equal
deleted
inserted
replaced
40 void setRootLevelPath( const QString &pathName ); |
40 void setRootLevelPath( const QString &pathName ); |
41 void setFindDisabled( bool display ); |
41 void setFindDisabled( bool display ); |
42 |
42 |
43 public slots: |
43 public slots: |
44 void setRootPath( const QString &pathName ); |
44 void setRootPath( const QString &pathName ); |
45 void refreshModel( const QString &path ); |
45 |
|
46 // triggered when drive is ejected/inserted. connected by FmViewManager |
|
47 void on_driveChanged(); |
46 |
48 |
47 signals: |
49 signals: |
48 // connected by viewmanager to close view |
50 // connected by viewmanager to close view |
49 void popViewAndShow(); |
51 void popViewAndShow(); |
50 |
52 |
80 void setStyle( FmFileBrowseWidget::Style style ); |
82 void setStyle( FmFileBrowseWidget::Style style ); |
81 void setSelectable( bool enable ); |
83 void setSelectable( bool enable ); |
82 void infoNoFileSelected(); |
84 void infoNoFileSelected(); |
83 void removeToolBarAction(); |
85 void removeToolBarAction(); |
84 |
86 |
|
87 /** |
|
88 * Create Default folder name while create folder. |
|
89 * |
|
90 * @param path Current path. |
|
91 * @return Default folder name for new folder. |
|
92 */ |
|
93 QString createDefaultFolderName( const QString &path ); |
|
94 |
85 private: |
95 private: |
86 FmFileBrowseWidget *mWidget; |
96 FmFileBrowseWidget *mWidget; |
87 HbPushButton *mUpButton; |
97 HbPushButton *mUpButton; |
88 //HbLineEdit *mLineEdit; |
98 //HbLineEdit *mLineEdit; |
89 HbAction *mStyleAction; |
99 HbAction *mStyleAction; |
93 |
103 |
94 FmOperationService *mOperationService; |
104 FmOperationService *mOperationService; |
95 |
105 |
96 HbAction *mToolBarRightAction; |
106 HbAction *mToolBarRightAction; |
97 HbMenu *mMenu; |
107 HbMenu *mMenu; |
|
108 |
|
109 // store the disable state of find action. true for disabled |
|
110 bool mIsFindDisabled; |
98 }; |
111 }; |
99 |
112 |
100 #endif |
113 #endif |
101 |
114 |