Home · All Classes · All Functions ·

QVideoOutputControl Class Reference

The QVideoOutputControl class provides a means of selecting the active video output control. More...

    #include <QVideoOutputControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Types

enum Output { NoOutput, WindowOutput, RendererOutput, WidgetOutput, UserOutput, MaxUserOutput }

Public Functions

~QVideoOutputControl ()
virtual QList<Output> availableOutputs () const = 0
virtual Output output () const = 0
virtual void setOutput ( Output output ) = 0

Signals

void availableOutputsChanged ( const QList<QVideoOutputControl::Output> & outputs )

Protected Functions

QVideoOutputControl ( QObject * parent = 0 )

Macros

QVideoOutputControl_iid

Additional Inherited Members


Detailed Description

The QVideoOutputControl class provides a means of selecting the active video output control.

There are multiple controls which a QMediaService may use to output video ony one of which may be active at one time, QVideoOutputControl is the means by which this active control is selected.

The possible output controls are QVideoRendererControl, QVideoWindowControl, and QVideoWidgetControl.

The interface name of QVideoOutputControl is com.nokia.Qt.QVideoOutputControl/1.0 as defined in QVideoOutputControl_iid.

See also QMediaService::control(), QVideoWidget, QVideoRendererControl, QVideoWindowControl, and QVideoWidgetControl.


Member Type Documentation

enum QVideoOutputControl::Output

Identifies the possible render targets of a video output.

ConstantValueDescription
QVideoOutputControl::NoOutput0Video is not rendered.
QVideoOutputControl::WindowOutput1Video is rendered to the target of a QVideoWindowControl.
QVideoOutputControl::RendererOutput2Video is rendered to the target of a QVideoRendererControl.
QVideoOutputControl::WidgetOutput3Video is rendered to a QWidget provided by QVideoWidgetControl.
QVideoOutputControl::UserOutput100Start value for user defined video targets.
QVideoOutputControl::MaxUserOutput1000End value for user defined video targets.


Member Function Documentation

QVideoOutputControl::QVideoOutputControl ( QObject * parent = 0 )   [protected]

Constructs a new video output control with the given parent.

QVideoOutputControl::~QVideoOutputControl ()

Destroys a video output control.

QList<Output> QVideoOutputControl::availableOutputs () const   [pure virtual]

Returns a list of available video output targets.

void QVideoOutputControl::availableOutputsChanged ( const QList<QVideoOutputControl::Output> & outputs )   [signal]

Signals that available set of video outputs has changed.

Output QVideoOutputControl::output () const   [pure virtual]

Returns the current video output target.

See also setOutput().

void QVideoOutputControl::setOutput ( Output output )   [pure virtual]

Sets the current video output target.

See also output().


Macro Documentation

QVideoOutputControl_iid

com.nokia.Qt.QVideoOutputControl/1.0

Defines the interface name of the QVideoOutputControl class.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0