From ec3418479b28ca8e162f84d76c2eed78c27a114c Mon Sep 17 00:00:00 2001 From: am Date: Mon, 20 Jul 2009 17:37:08 +0000 Subject: -started on editing the archive -big probs with the covers, I'll stop for now, can't think straight any more -changes to MovieModel -changes to MovieItem -modified CoverEditor to allow adding files (untested) git-svn-id: file:///var/svn/repos2/shemov/trunk@392 f440f766-f032-0410-8965-dc7d17de2ca0 --- moviemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'moviemodel.h') diff --git a/moviemodel.h b/moviemodel.h index cf2e1f2..d2cbe50 100644 --- a/moviemodel.h +++ b/moviemodel.h @@ -20,7 +20,7 @@ class MovieModel : public QAbstractItemModel { Q_OBJECT Q_ENUMS(CustomRoles) public: - enum CustomRoles { Md5Role = Qt::UserRole + 1, ActorsRole = Qt::UserRole +2 }; + enum CustomRoles { Md5Role = Qt::UserRole + 1, ActorsRole = Qt::UserRole + 2, ActorsMap = Qt::UserRole + 3, CoverRole = Qt::UserRole + 4, IdRole = Qt::UserRole + 5 }; MovieModel(QObject *parent = 0); ~MovieModel(); QModelIndex index(int row, int column, const QModelIndex &parent) const; -- cgit v1.2.3-70-g09d2