|
|
| AlbumModel (const std::shared_ptr< Tagging::TagReader > &tagReader, const std::shared_ptr< Tagging::TagWriter > &tagWriter, AbstractLibrary *library, QObject *parent) |
| |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
|
QVariant | data (const QModelIndex &index, int role) const override |
| |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::DisplayRole) override |
| |
|
int | rowCount (const QModelIndex &parent) const override |
| |
| Cover::Location | cover (const QModelIndexList &indexes) const override |
| | return the cover for multiple rows. if rows.size() > 1, an invalid, default constructed cover location is usually shown
|
| |
| int | searchableColumn () const override |
| | the index of the searchable column. This is the column where the text is searched for a certain searchstring
|
| |
| Id | mapIndexToId (int index) const override |
| | return the current id for a given row
|
| |
| QString | searchableString (int row) const override |
| | here, the searchable string can even be refined. Maybe we just want to search within a substring indicated by the row
|
| |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| |
|
bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole) override |
| |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| QModelIndexList | searchResults (const QString &substr) override |
| |
|
virtual QMimeData * | mimeData (const QModelIndexList &indexList) const override |
| |
|
void | refreshData (int *rowCountBefore=nullptr, int *rowCountAfter=nullptr) |
| |
|
virtual ExtraTriggerMap | getExtraTriggers () |
| |
|
virtual::Library::SearchModeMask | searchMode () const final |
| |