5 #include <QAbstractItemView>
14 class FolderPanel : public QWidget
19 explicit FolderPanel(QWidget *parent = 0);
22 // FolderView* folderView() const;
23 void initialize(MainWindow *w);
24 QAbstractItemView* itemView() const;
25 FolderModel* model() const;
26 void searchNext(int step = 1);
27 void setItemView(const QString &name);
28 void setModel(FolderModel *m);
29 void toggleSearch(bool checked);
30 void toggleView(bool checked);
31 void updateAppearance(const Preferences &prefs);
35 MainWindow *m_mainWnd;
37 void showSearchResult(const QModelIndex &index);
42 void model_dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
44 void on_searchBox_textEdited(const QString &arg1);
47 #endif // FOLDERPANEL_H