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