Home · All Classes · All Functions ·

QVideoDeviceControl Class Reference

The QVideoDeviceControl class provides an video device selector media control. More...

    #include <QVideoDeviceControl>

This class is under development and is subject to change.

Inherits QMediaControl.

Public Functions

Public Slots

Signals

Protected Functions

Macros

Additional Inherited Members


Detailed Description

The QVideoDeviceControl class provides an video device selector media control.

The QVideoDeviceControl class provides descriptions of the video devices available on a system and allows one to be selected as the endpoint of a media service.

The interface name of QVideoDeviceControl is com.nokia.Qt.VideoDeviceControl as defined in QVideoDeviceControl_iid.


Member Function Documentation

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

Constructs a video device control with the given parent.

QVideoDeviceControl::~QVideoDeviceControl ()   [virtual]

Destroys a video device control.

int QVideoDeviceControl::defaultDevice () const   [pure virtual]

Returns the index of the default video device.

int QVideoDeviceControl::deviceCount () const   [pure virtual]

Returns the number of available video devices;

QString QVideoDeviceControl::deviceDescription ( int index ) const   [pure virtual]

Returns a description of the video device at index.

QIcon QVideoDeviceControl::deviceIcon ( int index ) const   [pure virtual]

Returns an icon for the video device at index.

QString QVideoDeviceControl::deviceName ( int index ) const   [pure virtual]

Returns the name of the video device at index.

void QVideoDeviceControl::devicesChanged ()   [signal]

Signals that the list of available video devices has changed.

int QVideoDeviceControl::selectedDevice () const   [pure virtual]

Returns the index of the selected video device.

See also setSelectedDevice().

void QVideoDeviceControl::selectedDeviceChanged ( int index )   [signal]

Signals that the selected video device index has changed.

void QVideoDeviceControl::selectedDeviceChanged ( const QString & name )   [signal]

Signals that the selected video device name has changed.

void QVideoDeviceControl::setSelectedDevice ( int index )   [pure virtual slot]

Sets the selected video device index.

See also selectedDevice().


Macro Documentation

QVideoDeviceControl_iid

com.nokia.Qt.VideoDeviceControl

Defines the interface name of the QVideoDeviceControl class.


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