Qt Mobility Reference Documentation

QCameraFlashControl Class Reference

The QCameraFlashControl class supplies a camera flash control. More...

 #include <QCameraFlashControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QCameraFlashControl ()
virtual QCameraExposure::FlashModes flashMode () const = 0
virtual bool isFlashModeSupported ( QCameraExposure::FlashModes mode ) const = 0
virtual bool isFlashReady () const = 0
virtual void setFlashMode ( QCameraExposure::FlashModes mode ) = 0
  • 29 public functions inherited from QObject

Signals

void flashReady ( bool ready )

Protected Functions

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

Macros

QCameraFlashControl_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 QCameraFlashControl class supplies a camera flash control.

The interface name of QCameraFlashControl is com.nokia.Qt.QCameraFlashControl/1.0 as defined in QCameraFlashControl_iid.

The Camera API of Qt Mobility is still in Technology Preview. It has not undergone the same level of review and testing as the rest of the APIs.

The API exposed by the classes in this component are not stable, and will undergo modification or removal prior to the final release of Qt Mobility.

See also QCamera.


Member Function Documentation

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

Constructs a camera flash control object with parent.

QCameraFlashControl::~QCameraFlashControl ()

Destruct the camera control object.

QCameraExposure::FlashModes QCameraFlashControl::flashMode () const [pure virtual]

Returns the current flash mode.

See also setFlashMode().

void QCameraFlashControl::flashReady ( bool ready ) [signal]

Signal emitted when flash state changes to ready.

bool QCameraFlashControl::isFlashModeSupported ( QCameraExposure::FlashModes mode ) const [pure virtual]

Return true if reqested flash mode is supported. Some QCameraExposure::FlashMode values can be combined, for example QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain

bool QCameraFlashControl::isFlashReady () const [pure virtual]

Returns true if flash is charged.

void QCameraFlashControl::setFlashMode ( QCameraExposure::FlashModes mode ) [pure virtual]

Set the current flash mode.

Usually the single QCameraExposure::FlashMode flag is used, but some non conflicting flags combination are also allowed, like QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain.

See also flashMode().


Macro Documentation

QCameraFlashControl_iid

com.nokia.Qt.QCameraFlashControl/1.0

Defines the interface name of the QCameraFlashControl 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.