21#ifndef NORMALCONTAINER_P_H
22#define NORMALCONTAINER_P_H
24#include "playlistcontainer_p.h"
31class NormalContainer :
public PlayListContainer
35 virtual ~NormalContainer();
37 void addTracks(
const QList<PlayListTrack *> &tracks)
override;
39 void replaceTracks(
const QList<PlayListTrack *> &tracks)
override;
40 QList<PlayListGroup *> groups()
const override;
41 QList<PlayListTrack *> tracks()
const override;
42 const QList<PlayListItem *> &items()
const override;
43 int count()
const override;
44 int trackCount()
const override;
45 QList<PlayListItem *> mid(
int pos,
int count)
const override;
46 bool isEmpty()
const override;
47 bool isSelected(
int index)
const override;
48 void setSelected(
int index,
bool selected)
override;
49 void clearSelection()
override;
55 int indexOfTrack(
int index)
const override;
58 void removeTracks(QList<PlayListTrack *> tracks)
override;
59 bool move(
const QList<int> &indexes,
int from,
int to)
override;
60 QList<PlayListTrack *> takeAllTracks()
override;
61 void clear()
override;
63 void reverseList()
override;
64 void randomizeList()
override;
67 QList<PlayListItem *> m_items;
The PlayListTrack class provides a group for use with the PlayListModel class.
Definition playlistgroup.h:34
The PlayListItem class provides an item for use with the PlayListModel class.
Definition playlistitem.h:32
The PlayListTrack class provides a track for use with the PlayListModel class.
Definition playlisttrack.h:37