From 0e3e202c90e3ccb80310087409936c00189f0cea Mon Sep 17 00:00:00 2001 From: am Date: Wed, 22 Jul 2009 18:44:02 +0000 Subject: -Finished CoverArchiveEditor (finally, don't like that piece of code, too complicated) -It's now possible to manually add a movie w/o a file -Some usability fixes git-svn-id: file:///var/svn/repos2/shemov/trunk@394 f440f766-f032-0410-8965-dc7d17de2ca0 --- moviemodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'moviemodel.h') diff --git a/moviemodel.h b/moviemodel.h index 6367583..a3bfa34 100644 --- a/moviemodel.h +++ b/moviemodel.h @@ -25,6 +25,7 @@ class MovieModel : public QAbstractItemModel { ~MovieModel(); QModelIndex index(int row, int column, const QModelIndex &parent) const; QModelIndex index(int movieId, int column = 0) const; + QModelIndex index(const QString &movieTitle) const; QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }; int columnCount(const QModelIndex &) const { return MovieItem::NumRows; }; int rowCount(const QModelIndex &) const { return mItems.size(); }; -- cgit v1.2.3-70-g09d2