From 78c36ad6caab4a6c22bc95ee1f983ea841416ab9 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 4 Apr 2014 16:13:24 +0200 Subject: Delete SeriesPart Make it possible to delete a SeriesPart. This may happen if eg. you download the same clip/movie with a better quality. --- archivemodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archivemodel.h') 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 &seriesPartIds); + QStringList filesForSeriespart(int seriesPartId) const; public slots: void refresh(); -- cgit v1.2.3-70-g09d2