Media list item.
More...
#include <VLCQtCore/MediaList.h>
|
void | itemAdded (libvlc_media_t *item, int index) |
| Signal sent on item added. More...
|
|
void | willAddItem (libvlc_media_t *item, int index) |
| Signal sent when item will be added. More...
|
|
void | itemDeleted (libvlc_media_t *item, int index) |
| Signal sent on item deleted. More...
|
|
void | willDeleteItem (libvlc_media_t *item, int index) |
| Signal sent when item will be deleted. More...
|
|
Media list item.
VlcMediaList holds multiple VlcMedia items to play in sequence.
VlcMediaList constructor.
This constructor creates a new media list instance.
- Parameters
-
instance | main libvlc instance |
void VlcMediaList::addMedia |
( |
VlcMedia * |
media | ) |
|
Add media item to the list.
- Parameters
-
VlcMedia * VlcMediaList::at |
( |
int |
index | ) |
|
Get media item at selected index.
- Parameters
-
- Returns
- media item (VlcMedia)
libvlc_media_list_t * VlcMediaList::core |
( |
| ) |
|
libvlc media list item
- Returns
- libvlc media list item (libvlc_media_list_t *)
int VlcMediaList::count |
( |
| ) |
|
libvlc media list item
- Returns
- items count (int)
int VlcMediaList::indexOf |
( |
VlcMedia * |
media | ) |
|
Index of media item.
- Parameters
-
- Returns
- media item index (int)
int VlcMediaList::indexOf |
( |
libvlc_media_t * |
media | ) |
|
Index of media item (core)
- Parameters
-
- Returns
- media item index (int)
void VlcMediaList::insertMedia |
( |
VlcMedia * |
media, |
|
|
int |
index |
|
) |
| |
Insert media item at the specific position of the list.
- Parameters
-
media | media item |
index | item position |
void VlcMediaList::itemAdded |
( |
libvlc_media_t * |
item, |
|
|
int |
index |
|
) |
| |
|
signal |
Signal sent on item added.
- Parameters
-
item | item that was added |
index | index of item |
void VlcMediaList::itemDeleted |
( |
libvlc_media_t * |
item, |
|
|
int |
index |
|
) |
| |
|
signal |
Signal sent on item deleted.
- Parameters
-
item | item that was added |
index | index of item |
void VlcMediaList::removeMedia |
( |
int |
index | ) |
|
Remove media item from the specific position of the list.
- Parameters
-
void VlcMediaList::willAddItem |
( |
libvlc_media_t * |
item, |
|
|
int |
index |
|
) |
| |
|
signal |
Signal sent when item will be added.
- Parameters
-
item | item that will be added |
index | index of item |
void VlcMediaList::willDeleteItem |
( |
libvlc_media_t * |
item, |
|
|
int |
index |
|
) |
| |
|
signal |
Signal sent when item will be deleted.
- Parameters
-
item | item that will be deleted |
index | index of item |
The documentation for this class was generated from the following files:
- MediaList.h
- MediaList.cpp