diff options
Diffstat (limited to 'moviemodel.h')
-rw-r--r-- | moviemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); }; |