Qt Mobility Reference Documentation

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
  • 29 public functions inherited from QObject

Public Slots

virtual void setSelectedDevice ( int index ) = 0
  • 1 public slot inherited from QObject

Signals

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

Protected Functions

QVideoDeviceControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QVideoDeviceControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

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.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.