The QCameraCaptureDestinationControl class provides a control for setting capture destination. 更多...
头: | #include <QCameraCaptureDestinationControl> |
qmake: | QT += multimedia |
继承: | QMediaControl |
该类已过时。 提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
virtual | ~QCameraCaptureDestinationControl () |
virtual QCameraImageCapture::CaptureDestinations | captureDestination () const = 0 |
virtual bool | isCaptureDestinationSupported (QCameraImageCapture::CaptureDestinations destination ) const = 0 |
virtual void | setCaptureDestination (QCameraImageCapture::CaptureDestinations destination ) = 0 |
void | captureDestinationChanged (QCameraImageCapture::CaptureDestinations destination ) |
QCameraCaptureDestinationControl (QObject * parent = nullptr) |
QCameraCaptureDestinationControl_iid |
Depending on backend capabilities capture to file, buffer or both can be supported.
The interface name of QCameraCaptureDestinationControl is
org.qt-project.qt.cameracapturedestinationcontrol/5.0
作为定义在
QCameraCaptureDestinationControl_iid
.
另请参阅 QMediaService::requestControl ().
[protected]
QCameraCaptureDestinationControl::
QCameraCaptureDestinationControl
(
QObject
*
parent
= nullptr)
Constructs a new image capture destination control object with the given parent
[signal]
void
QCameraCaptureDestinationControl::
captureDestinationChanged
(
QCameraImageCapture::CaptureDestinations
destination
)
Signals the image capture destination 改变。
[虚拟]
QCameraCaptureDestinationControl::
~QCameraCaptureDestinationControl
()
Destroys an image capture destination control.
[pure virtual]
QCameraImageCapture::CaptureDestinations
QCameraCaptureDestinationControl::
captureDestination
() const
Returns the current capture destination. The default destination is QCameraImageCapture::CaptureToFile .
另请参阅 setCaptureDestination ().
[pure virtual]
bool
QCameraCaptureDestinationControl::
isCaptureDestinationSupported
(
QCameraImageCapture::CaptureDestinations
destination
) const
Returns true if the capture destination is supported; and false if it is not.
[pure virtual]
void
QCameraCaptureDestinationControl::
setCaptureDestination
(
QCameraImageCapture::CaptureDestinations
destination
)
Sets the capture destination .
另请参阅 captureDestination ().
org.qt-project.qt.cameracapturedestinationcontrol/5.0
定义接口名为 QCameraCaptureDestinationControl 类。