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

virtual ~QVideoDeviceControl ()
virtual int defaultDevice () const = 0
virtual int deviceCount () const = 0
virtual QString deviceDescription ( int index ) const = 0
virtual QIcon deviceIcon ( int index ) const = 0
virtual QString deviceName ( int index ) const = 0
virtual int selectedDevice () const = 0

Public Slots

virtual void setSelectedDevice ( int index ) = 0

Signals

void devicesChanged ()
void selectedDeviceChanged ( int index )
void selectedDeviceChanged ( const QString & name )

Protected Functions

QVideoDeviceControl ( QObject * parent = 0 )

Macros

QVideoDeviceControl_iid

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 © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0