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 org.qt-project.qt.videodevicecontrol/5.0 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.
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().