![]() |
Sayonara Player
|
#include <AlternativeCoverItemModel.h>
The AlternativeCoverItemModel class.
Public Member Functions | |
AlternativeCoverItemModel (QObject *parent) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::DisplayRole) override |
bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
bool | is_valid (int row, int col) |
RowColumn | cvt_2_row_col (int idx) const |
int | cvt_2_idx (int row, int col) const |