filemanager/src/filemanager/src/fmfilebrowsewidget.h
changeset 46 d58987eac7e8
parent 37 15bc28c9dd51
equal deleted inserted replaced
37:15bc28c9dd51 46:d58987eac7e8
    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 
    80     void setRootPath( const QString &pathName );
    81     void setRootPath( const QString &pathName );
    81     
    82     
    82     // triggered when drive is ejected/inserted
    83     // triggered when drive is ejected/inserted
    83     void on_driveChanged();
    84     void on_driveChanged();
    84     
    85     
    85     void on_searchPanel_searchOptionsClicked();
       
    86     void on_searchPanel_criteriaChanged( const QString &criteria );
    86     void on_searchPanel_criteriaChanged( const QString &criteria );
    87     void on_searchPanel_exitClicked();
    87     void on_searchPanel_exitClicked();
    88 
    88 
    89 signals:
    89 signals:
    90     void currentPathChanged( const QString& );
    90     void currentPathChanged( const QString& );
    91     void startSearch( const QString &targetPath, const QString &criteria );
    91     void startSearch( const QString &criteria );
    92     void setEmptyMenu( bool isMenuEmpty );
    92     void setEmptyMenu( bool isMenuEmpty );
    93     void setTitle( const QString &title );
    93     void setTitle( const QString &title );
    94     void listActivated();
    94     void listActivated();
    95 
    95 
    96 private slots:
    96 private slots:
   121 	bool isFolder(const QModelIndex &index) const;
   121 	bool isFolder(const QModelIndex &index) const;
   122     
   122     
   123 	HbTreeView *mTreeView;
   123 	HbTreeView *mTreeView;
   124     HbListView *mListView;
   124     HbListView *mListView;
   125     QGraphicsLinearLayout *mLayout;
   125     QGraphicsLinearLayout *mLayout;
   126     QFileSystemModel *mModel;
   126     QFileSystemModel *mSourceModel;
       
   127     FmFileSystemProxyModel *mModel;
   127     
   128     
   128     bool mSelectable;
   129     bool mSelectable;
   129     
   130     
   130     //currentStyle
   131     //currentStyle
   131     Style mStyle;
   132     Style mStyle;