29 #ifndef LIBRARYITEMMODELARTISTS_H_ 30 #define LIBRARYITEMMODELARTISTS_H_ 32 #include "LibraryItemModel.h" 33 #include "Helper/MetaData/Artist.h" 45 QVariant data(
const QModelIndex &index,
int role=Qt::DisplayRole)
const override;
47 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
49 bool setData(
const QModelIndex &index,
const QVariant &value,
int role=Qt::DisplayRole)
override;
50 bool setData(
const QModelIndex &index,
const ArtistList& artists,
int role=Qt::DisplayRole);
52 virtual int get_id_by_row(
int row)
override;
53 virtual QString get_string(
int row)
const override;
55 virtual QModelIndex getFirstRowIndexOf(QString substr)
override;
56 virtual QModelIndex getPrevRowIndexOf(QString substr,
int row,
const QModelIndex& parent=QModelIndex())
override;
57 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:38