The PlaylistModel class is the underlying class for Playlist class.
More...
#include <playlistmodel.h>
The PlaylistModel class is the underlying class for Playlist class.
This class add tracks in a table
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
◆ Origin
◆ PlaylistModel()
PlaylistModel::PlaylistModel |
( |
QObject * |
parent | ) |
|
|
explicit |
◆ ~PlaylistModel()
PlaylistModel::~PlaylistModel |
( |
| ) |
|
|
virtual |
◆ clear()
void PlaylistModel::clear |
( |
| ) |
|
Clear the content of playlist.
◆ insertMedias() [1/2]
bool PlaylistModel::insertMedias |
( |
int |
rowIndex, |
|
|
const QList< QMediaContent > & |
tracks |
|
) |
| |
◆ insertMedias() [2/2]
bool PlaylistModel::insertMedias |
( |
int |
rowIndex, |
|
|
const QList< TrackDAO > & |
tracks |
|
) |
| |
◆ insertRow()
void PlaylistModel::insertRow |
( |
int |
row, |
|
|
const QList< QStandardItem *> & |
items |
|
) |
| |
Redefined. XXX: warning this method is not marked as Virtual in QStandardItemModel.
◆ internalMove()
QList< QStandardItem * > PlaylistModel::internalMove |
( |
QModelIndex |
dest, |
|
|
QModelIndexList |
selectedIndexes |
|
) |
| |
Moves rows from various positions to a new one (discontiguous rows are grouped).
◆ mediaPlaylist()
◆ reload()
void PlaylistModel::reload |
( |
| ) |
|
◆ removeTrack()
void PlaylistModel::removeTrack |
( |
int |
row | ) |
|
The documentation for this class was generated from the following files: