QtMobility Reference Documentation

QCameraFlashControl Class Reference

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

 #include <QCameraFlashControl>

Inherits: QMediaControl.

This class was introduced in Qt Mobility 1.1.

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.

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.

This function was introduced in Qt Mobility 1.1.

See also setFlashMode().

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

Signal emitted when flash state changes to ready.

This function was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

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

Returns true if flash is charged.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.