25 #include <QStringList> 29 #include <qmmp/trackinfo.h> 44 class FileLoader :
public QThread
52 FileLoader(QObject *parent = 0);
60 void add(
const QString &path);
64 void add(
const QStringList &paths);
65 void addPlayList(
const QString &fmt,
const QByteArray &data);
68 void insert(
PlayListItem *before,
const QStringList &paths);
82 void newTracksToInsert(
PlayListItem *before, QList<PlayListTrack *> tracks);
86 QList<PlayListTrack*> processFile(
const QString &path, QStringList *ignoredPaths = 0);
87 void insertPlayList(
const QString &fmt,
const QByteArray &contents,
PlayListItem *before);
88 void insertPlayList(
const QString &path,
PlayListItem *before);
89 void addDirectory(
const QString &s,
PlayListItem *before = 0);
90 bool checkRestrictFilters(
const QFileInfo &info);
91 bool checkExcludeFilters(
const QFileInfo &info);
92 void removeIgnoredTracks(QList<PlayListTrack *> *tracks,
const QStringList &ignoredPaths);
97 QString playListFormat;
98 QByteArray playListContent;
100 QQueue <LoaderTask> m_tasks;
101 QStringList m_filters;
104 bool m_readMetaDataForPlayLists;
105 TrackInfo::Parts m_parts;
The PlayListItem class provides an item for use with the PlayListModel class.
Definition: playlistitem.h:31
The QmmpUiSettings class provides access to global libqmmpui library settings.
Definition: qmmpuisettings.h:36
The PlayListTrack class provides a track for use with the PlayListModel class.
Definition: playlisttrack.h:36