equal
deleted
inserted
replaced
51 FmFileWidget::ViewType currentViewType(); |
51 FmFileWidget::ViewType currentViewType(); |
52 bool cdUp(); |
52 bool cdUp(); |
53 signals: |
53 signals: |
54 void pathChanged( const QString &path ); |
54 void pathChanged( const QString &path ); |
55 void fileActivated( const QString &path ); |
55 void fileActivated( const QString &path ); |
|
56 void listActivated(); |
56 |
57 |
57 private slots: |
58 private slots: |
58 void on_list_activated( const QModelIndex &index ); |
59 void on_list_activated( const QModelIndex &index ); |
|
60 void on_listActivated(); |
59 void on_driveWatcher_driveAddedOrChanged(); |
61 void on_driveWatcher_driveAddedOrChanged(); |
60 |
62 |
61 private: |
63 private: |
62 void init(); |
64 void init(); |
63 void changeRootIndex( const QModelIndex &index ); |
65 void changeRootIndex( const QModelIndex &index ); |
69 QDirModel *mDirModel; |
71 QDirModel *mDirModel; |
70 FmDriveModel *mDriveModel; |
72 FmDriveModel *mDriveModel; |
71 |
73 |
72 QAbstractItemModel *mCurrentModel; |
74 QAbstractItemModel *mCurrentModel; |
73 FmDriveWatcher *mDriveWatcher; |
75 FmDriveWatcher *mDriveWatcher; |
|
76 |
|
77 QModelIndex mActivatedModelIndex; |
74 |
78 |
75 }; |
79 }; |
76 |
80 |
77 #endif |
81 #endif |