Media list item.
More...
#include <vlc-qt/Media.h>
List of all members.
Signals |
void | itemAdded (libvlc_media_t *, const int &) |
| Signal sent on item added.
|
void | willAddItem (libvlc_media_t *, const int &) |
| Signal sent when item will be added.
|
void | itemDeleted (libvlc_media_t *, const int &) |
| Signal sent on item deleted.
|
void | willDeleteItem (libvlc_media_t *, const int &) |
| Signal sent when item will be deleted.
|
Public Member Functions |
| VlcMediaList (VlcInstance *instance) |
| VlcMediaList constructor.
|
| ~VlcMediaList () |
| VlcMediaList destructor.
|
libvlc_media_list_t * | core () |
| libvlc media list item
|
void | addMedia (VlcMedia *media) |
| Add media item to the list.
|
VlcMedia * | at (const int &index) |
| Get media item at selected index.
|
int | count () |
| libvlc media list item
|
int | indexOf (VlcMedia *media) |
| Index of media item.
|
int | indexOf (libvlc_media_t *media) |
| Index of media item (core)
|
void | insertMedia (VlcMedia *media, const int &index) |
| Insert media item at the specific position of the list.
|
void | removeMedia (const int &index) |
| Remove media item from the specific position of the list.
|
Detailed Description
Media list item.
VlcMediaList holds multiple VlcMedia items to play in sequence.
Constructor & Destructor Documentation
VlcMediaList constructor.
This constructor creates a new media list instance.
- Parameters:
-
instance | main libvlc instance |
Member Function Documentation
Add media item to the list.
- Parameters:
-
Get media item at selected index.
- Parameters:
-
- Returns:
- media item (VlcMedia)
libvlc media list item
- Returns:
- libvlc media list item (libvlc_media_list_t *)
libvlc media list item
- Returns:
- items count (int)
Index of media item.
- Parameters:
-
- Returns:
- media item index (int)
Index of media item (core)
- Parameters:
-
- Returns:
- media item index (int)
Insert media item at the specific position of the list.
- Parameters:
-
media | media item |
index | item position |
Signal sent on item added.
- Parameters:
-
libvlc_media_t | * item |
int | index |
Signal sent on item deleted.
- Parameters:
-
libvlc_media_t | * item |
int | index |
Remove media item from the specific position of the list.
- Parameters:
-
Signal sent when item will be added.
- Parameters:
-
libvlc_media_t | * item |
int | index |
Signal sent when item will be deleted.
- Parameters:
-
libvlc_media_t | * item |
int | index |
The documentation for this class was generated from the following files: