VlcQmlSource Class Reference

QML video source. More...

#include <VLCQtQml/QmlSource.h>

Public Member Functions

 VlcQmlSource (QObject *parent)
 VlcQmlSource constructor. More...
 
void setPlayer (VlcMediaPlayer *player)
 Set media player to use. More...
 
void removePlayer ()
 Remove player from source.
 
virtual void registerVideoOutput (VlcQmlVideoOutput *output)
 Register video output. More...
 
virtual void deregisterVideoOutput (VlcQmlVideoOutput *output)
 Deregister video output. More...
 

Detailed Description

QML video source.

A special class which represents video source. VlcQmlVideoOutput can connect to any class that subclasses this one.

See also
VlcQmlPlayer
VlcQmlVideoOutput
Since
VLC-Qt 1.1

Constructor & Destructor Documentation

VlcQmlSource::VlcQmlSource ( QObject *  parent)

VlcQmlSource constructor.

Parameters
parentparent object

Member Function Documentation

void VlcQmlSource::deregisterVideoOutput ( VlcQmlVideoOutput output)
virtual

Deregister video output.

Parameters
outputQML video output
void VlcQmlSource::registerVideoOutput ( VlcQmlVideoOutput output)
virtual

Register video output.

Parameters
outputQML video output
void VlcQmlSource::setPlayer ( VlcMediaPlayer player)

Set media player to use.

Parameters
playermedia player

The documentation for this class was generated from the following files: