MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QCameraCaptureDestinationControl Class Reference

The QCameraCaptureDestinationControl class provides a control for setting capture destination. More...

 #include <QCameraCaptureDestinationControl>

Inherits: QMediaControl.

This class was introduced in QtMobility 1.2.

Public Functions

~QCameraCaptureDestinationControl ()
virtual QCameraImageCapture::CaptureDestinations captureDestination () const = 0
virtual bool isCaptureDestinationSupported ( QCameraImageCapture::CaptureDestinations destination ) const = 0
virtual void setCaptureDestination ( QCameraImageCapture::CaptureDestinations destination ) = 0
  • 29 public functions inherited from QObject

Signals

void captureDestinationChanged ( QCameraImageCapture::CaptureDestinations destination )

Protected Functions

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

Macros

QCameraCaptureDestinationControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot 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 QCameraCaptureDestinationControl class provides a control for setting capture destination.

Depending on backend capabilities capture to file, buffer or both can be supported.

The interface name of QCameraCaptureDestinationControl is com.nokia.Qt.QCameraCaptureDestinationControl/1.0 as defined in QCameraCaptureDestinationControl_iid.

See also QMediaService::requestControl().

Member Function Documentation

QCameraCaptureDestinationControl::QCameraCaptureDestinationControl ( QObject * parent = 0 ) [protected]

Constructs a new image capture destination control object with the given parent

QCameraCaptureDestinationControl::~QCameraCaptureDestinationControl ()

Destroys an image capture destination control.

QCameraImageCapture::CaptureDestinations QCameraCaptureDestinationControl::captureDestination () const [pure virtual]

Returns the current capture destination. The default destination is QCameraImageCapture::CaptureToFile.

This function was introduced in Qt Mobility 1.2.

See also setCaptureDestination().

void QCameraCaptureDestinationControl::captureDestinationChanged ( QCameraImageCapture::CaptureDestinations destination ) [signal]

Signals the image capture destination changed.

This function was introduced in Qt Mobility 1.2.

bool QCameraCaptureDestinationControl::isCaptureDestinationSupported ( QCameraImageCapture::CaptureDestinations destination ) const [pure virtual]

Returns true if the capture destination is supported; and false if it is not.

This function was introduced in Qt Mobility 1.2.

void QCameraCaptureDestinationControl::setCaptureDestination ( QCameraImageCapture::CaptureDestinations destination ) [pure virtual]

Sets the capture destination.

This function was introduced in Qt Mobility 1.2.

See also captureDestination().

Macro Documentation

QCameraCaptureDestinationControl_iid

com.nokia.Qt.QCameraCaptureDestinationControl/1.0

Defines the interface name of the QCameraCaptureDestinationControl class.