1 #ifndef FILESYSTEMTREEVIEW_H 2 #define FILESYSTEMTREEVIEW_H 6 #include <QContextMenuEvent> 7 #include <QFileSystemModel> 26 QModelIndex _theIndex;
28 QFileSystemModel *_fileSystemModel;
34 virtual void findAll(
const QModelIndex &index, QList<QUrl> *tracks)
const override;
40 virtual void contextMenuEvent(QContextMenuEvent *event)
override;
43 virtual int countAll(
const QModelIndexList &indexes)
const override;
45 virtual void keyPressEvent(QKeyEvent *event)
override;
48 void scrollAndHighlight(
const QChar &c);
52 void reloadWithNewPath(
const QDir &path);
56 void convertIndex(
const QModelIndex &index);
60 void aboutToAddMusicLocations(
const QList<QDir> &);
62 void folderChanged(
const QString &);
65 #endif // FILESYSTEMTREEVIEW_H virtual void updateSelectedTracks()=0
The TreeView class is the base class for displaying trees in the player.
Definition: treeview.h:14
The FileSystemTreeView class is displaying a standard file-system in a tree.
Definition: filesystemtreeview.h:19
virtual void findAll(const QModelIndex &index, QList< QUrl > *tracks) const =0
virtual int countAll(const QModelIndexList &indexes) const =0
#define MIAMTABPLAYLISTS_LIBRARY
Definition: miamtabplaylists_global.hpp:8