QtMobility Reference Documentation

QVideoDeviceControl Class Reference

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

 #include <QVideoDeviceControl>

Inherits: QMediaControl.

This class was introduced in Qt Mobility 1.0.

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.

This function was introduced in Qt Mobility 1.0.

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

Returns the number of available video devices;

This function was introduced in Qt Mobility 1.0.

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

Returns a description of the video device at index.

This function was introduced in Qt Mobility 1.0.

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

Returns an icon for the video device at index.

This function was introduced in Qt Mobility 1.0.

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

Returns the name of the video device at index.

This function was introduced in Qt Mobility 1.0.

void QVideoDeviceControl::devicesChanged () [signal]

Signals that the list of available video devices has changed.

This function was introduced in Qt Mobility 1.0.

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

Returns the index of the selected video device.

This function was introduced in Qt Mobility 1.0.

See also setSelectedDevice().

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

Signals that the selected video device index has changed.

This function was introduced in Qt Mobility 1.0.

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

Signals that the selected video device name has changed.

This function was introduced in Qt Mobility 1.0.

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

Sets the selected video device index.

This function was introduced in Qt Mobility 1.0.

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.