diff options
author | Arno <am@disconnect.de> | 2014-04-04 16:13:24 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-04-04 16:13:24 +0200 |
commit | 78c36ad6caab4a6c22bc95ee1f983ea841416ab9 (patch) | |
tree | ecbfd36fc3852c92d87570a2b7172d22473aa44c /archivemodel.h | |
parent | fedc8437f088a666462f21858f82733d2aa33761 (diff) | |
download | SheMov-78c36ad6caab4a6c22bc95ee1f983ea841416ab9.tar.gz SheMov-78c36ad6caab4a6c22bc95ee1f983ea841416ab9.tar.bz2 SheMov-78c36ad6caab4a6c22bc95ee1f983ea841416ab9.zip |
Delete SeriesPart
Make it possible to delete a SeriesPart. This may happen if eg. you
download the same clip/movie with a better quality.
Diffstat (limited to 'archivemodel.h')
-rw-r--r-- | archivemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archivemodel.h b/archivemodel.h index e4cd571..8abf60c 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -53,6 +53,7 @@ class ArchiveModel : public SmTreeModel { bool setPartNo(int partId, int newPartId, const QString &subtitle); bool setFavorite(int partId, bool favorite); void addCovers(int partId, const QStringList covers); + bool deleteSeriesPart(int partId); signals: void needRefresh(); @@ -100,6 +101,7 @@ class ArchiveFilesModel : public SmTreeModel { int nextDvd() const; bool isMovie(const QModelIndex &idx) const; void populate(const QSet<int> &seriesPartIds); + QStringList filesForSeriespart(int seriesPartId) const; public slots: void refresh(); |