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