29 #ifndef LIBRARYITEMMODELALBUMS_H_ 30 #define LIBRARYITEMMODELALBUMS_H_ 32 #include "GUI/Library/Models/LibraryItemModel.h" 33 #include "Helper/Pimpl.h" 47 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
49 QVariant data(
const QModelIndex& index,
int role)
const override;
50 bool setData(
const QModelIndex& index,
const QVariant& value,
int role=Qt::DisplayRole)
override;
51 bool setData(
const QModelIndex& index,
const AlbumList& albums,
int role=Qt::DisplayRole);
53 void sort(
int column, Qt::SortOrder order)
override;
55 int get_id_by_row(
int row)
override;
56 QString get_string(
int row)
const override;
59 int get_searchable_column()
const override;
The CoverLocation class.
Definition: CoverLocation.h:37
The AlbumList class.
Definition: Album.h:79
Definition: LibraryItemModel.h:33
Definition: LibraryItemModelAlbums.h:37
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition: AbstractPlaylist.h:37