|
| PlaylistItemModel (PlaylistPtr pl, QObject *parent=nullptr) |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
const MetaData & | get_md (int row) const |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
bool | setData (const QModelIndex &index, const QVariant &var, int role=Qt::DisplayRole) override |
|
void | clear () |
|
void | remove_rows (const SP::Set< int > &rows) |
|
void | move_rows (const SP::Set< int > &rows, int target_index) |
|
void | copy_rows (const SP::Set< int > &rows, int target_index) |
|
void | insert_metadata (const MetaDataList &v_md, int target_index) |
|
void | set_current_track (int row) |
|
int | get_current_track () const |
|
QModelIndex | getFirstRowIndexOf (QString substr) override |
|
QModelIndex | getPrevRowIndexOf (QString substr, int row, const QModelIndex &parent=QModelIndex()) override |
|
QModelIndex | getNextRowIndexOf (QString substr, int row, const QModelIndex &parent=QModelIndex()) override |
|
QMap< QChar, QString > | getExtraTriggers () override |
|
void | get_metadata (const IdxList &rows, MetaDataList &v_md) |
|
CustomMimeData * | get_custom_mimedata (const QModelIndexList &indexes) const |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
|
bool | has_local_media (const IdxList &idxs) const |
|