29 #ifndef LIBRARYITEMMODELARTISTS_H_
30 #define LIBRARYITEMMODELARTISTS_H_
32 #include "LibraryItemModel.h"
33 #include "Helper/MetaData/Artist.h"
43 QVariant data(
const QModelIndex &index,
int role=Qt::DisplayRole)
const;
45 Qt::ItemFlags flags(
const QModelIndex &index)
const;
47 bool setData(
const QModelIndex &index,
const QVariant &value,
int role=Qt::DisplayRole);
48 bool setData(
const QModelIndex &index,
const ArtistList& artists,
int role=Qt::DisplayRole);
50 virtual int get_id_by_row(
int row)
override;
52 virtual QModelIndex getFirstRowIndexOf(QString substr)
override;
53 virtual QModelIndex getPrevRowIndexOf(QString substr,
int row,
const QModelIndex& parent=QModelIndex())
override;
54 virtual QModelIndex getNextRowIndexOf(QString substr,
int row,
const QModelIndex& parent=QModelIndex())
override;
Definition: LibraryItemModel.h:57
Definition: ColumnHeader.h:40
ArtistList.
Definition: Artist.h:64
Definition: LibraryItemModelArtists.h:36