Qt Mobility Reference Documentation

QCameraLocksControl Class Reference

The QCameraLocksControl class is an abstract base class for classes that control still cameras or video cameras. More...

 #include <QCameraLocksControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QCameraLocksControl ()
virtual QCamera::LockStatus lockStatus ( QCamera::LockType lock ) const = 0
virtual void searchAndLock ( QCamera::LockTypes locks ) = 0
virtual QCamera::LockTypes supportedLocks () const = 0
virtual void unlock ( QCamera::LockTypes locks ) = 0
  • 29 public functions inherited from QObject

Signals

void lockStatusChanged ( QCamera::LockType lock, QCamera::LockStatus status, QCamera::LockChangeReason reason )

Protected Functions

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

Macros

QCameraLocksControl_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 QCameraLocksControl class is an abstract base class for classes that control still cameras or video cameras.

This service is provided by a QMediaService object via QMediaService::control(). It is used by QCamera.

The interface name of QCameraLocksControl is com.nokia.Qt.QCameraLocksControl/1.0 as defined in QCameraLocksControl_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 QMediaService::requestControl() and QCamera.


Member Function Documentation

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

Constructs a camera locks control object with parent.

QCameraLocksControl::~QCameraLocksControl ()

Destruct the camera locks control object.

QCamera::LockStatus QCameraLocksControl::lockStatus ( QCamera::LockType lock ) const [pure virtual]

Returns the camera lock status.

void QCameraLocksControl::lockStatusChanged ( QCamera::LockType lock, QCamera::LockStatus status, QCamera::LockChangeReason reason ) [signal]

Signals the lock status was changed with a specified reason.

void QCameraLocksControl::searchAndLock ( QCamera::LockTypes locks ) [pure virtual]

Request camera locks.

QCamera::LockTypes QCameraLocksControl::supportedLocks () const [pure virtual]

Returns the lock types, the camera supports.

void QCameraLocksControl::unlock ( QCamera::LockTypes locks ) [pure virtual]

Unlock camera locks.


Macro Documentation

QCameraLocksControl_iid

com.nokia.Qt.QCameraLocksControl/1.0

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