23 #ifndef ALBUMCOVERMODEL_H 24 #define ALBUMCOVERMODEL_H 26 #include "GUI/Library/Models/LibraryItemModel.h" 27 #include "Helper/Pimpl.h" 50 int rowCount(
const QModelIndex& parent=QModelIndex())
const override;
51 int columnCount(
const QModelIndex& paren=QModelIndex())
const override;
52 QVariant data(
const QModelIndex& index,
int role)
const override;
53 QSize get_item_size()
const;
55 QModelIndex getFirstRowIndexOf(
const QString& substr)
override;
56 QModelIndex getNextRowIndexOf(
const QString& substr,
int cur_row,
const QModelIndex& parent=QModelIndex())
override;
57 QModelIndex getPrevRowIndexOf(
const QString& substr,
int cur_row,
const QModelIndex& parent=QModelIndex())
override;
60 int get_searchable_column()
const override;
61 QString get_string(
int idx)
const override;
62 int get_id_by_row(
int idx)
override;
65 void set_max_columns(
int columns);
68 void set_zoom(
int zoom);
75 #endif // ALBUMCOVERMODEL_H Definition: AlbumCoverModel.h:34
The CoverLocation class.
Definition: CoverLocation.h:37
The AlbumList class.
Definition: Album.h:79
Definition: LibraryItemModel.h:33
The Album class.
Definition: Album.h:38
The CoverLookup class.
Definition: CoverLookup.h:42
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition: AbstractPlaylist.h:37
Definition: org_mpris_media_player2_adaptor.h:21