25 #include <QStringList> 43 class FileLoader :
public QThread
51 FileLoader(QObject *parent = 0);
59 void add(
const QString &path);
63 void add(
const QStringList &paths);
64 void addPlayList(
const QString &fmt,
const QByteArray &data);
67 void insert(
PlayListItem *before,
const QStringList &paths);
81 void newTracksToInsert(
PlayListItem *before, QList<PlayListTrack *> tracks);
85 QList<PlayListTrack*> processFile(
const QString &path, QStringList *ignoredPaths = 0);
86 void insertPlayList(
const QString &fmt,
const QByteArray &contents,
PlayListItem *before);
87 void insertPlayList(
const QString &path,
PlayListItem *before);
88 void addDirectory(
const QString &s,
PlayListItem *before = 0);
89 bool checkRestrictFilters(
const QFileInfo &info);
90 bool checkExcludeFilters(
const QFileInfo &info);
91 void removeIgnoredTracks(QList<PlayListTrack *> *tracks,
const QStringList &ignoredPaths);
96 QString playListFormat;
97 QByteArray playListContent;
99 QQueue <LoaderTask> m_tasks;
100 QStringList m_filters;
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:35
The PlayListTrack class provides a track for use with the PlayListModel class.
Definition: playlisttrack.h:36