1 #ifndef FILELISTWIDGET_H
2 #define FILELISTWIDGET_H
5 #include <QFileSystemModel>
10 class FileListWidget : public QListView
14 explicit FileListWidget(QWidget *parent = 0);
19 void pathChanged(QString newPath);
22 void changePath(QString path);
29 void actionSwitchMode(bool iconmode=true);
31 void actionShowHidden(bool show=true);
32 void actionSendFiles();
34 void setSelectMode(bool mode=true);
36 void handleItemActivation(QModelIndex index);
39 QFileSystemModel *fileSystemModel;
41 QModelIndexList selectedFiles;
47 #endif // FILELISTWIDGET_H