From 41802000a0bcbb44c3add7f218eceec101f52cc0 Mon Sep 17 00:00:00 2001 From: am Date: Fri, 7 Aug 2009 19:53:55 +0000 Subject: -fixed sorting in ArchiveProxy: had to introduce two new fields to MovieModel: partno and seriesno -made changes to archiveviewiwdget.cpp and dialogs accordingly git-svn-id: file:///var/svn/repos2/shemov/trunk@400 f440f766-f032-0410-8965-dc7d17de2ca0 --- movieitem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'movieitem.h') diff --git a/movieitem.h b/movieitem.h index 70bfc88..a20cf52 100644 --- a/movieitem.h +++ b/movieitem.h @@ -21,8 +21,8 @@ class MovieItem : public QObject { Q_OBJECT Q_ENUMS(Columns) public: - enum Columns { Title = 0, Filename = 1, Md5Sum = 2, Size = 3, Genre = 4, Quality = 5, Dvd = 6 }; - enum { NumRows = 7 }; + enum Columns { Title = 0, Filename = 1, Md5Sum = 2, Size = 3, Genre = 4, Quality = 5, Dvd = 6, SeriesNo = 7, PartNo = 8 }; + enum { NumRows = 9 }; MovieItem(int id = -1, QObject *parent = 0); ~MovieItem() {}; int id() const { return mId; }; -- cgit v1.2.3-70-g09d2