QtMobility 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>

Inherits: QMediaControl.

This class was introduced in Qt Mobility 1.1.

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.

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.

This function was introduced in Qt Mobility 1.1.

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

Signals the lock status was changed with a specified reason.

This function was introduced in Qt Mobility 1.1.

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

Request camera locks.

This function was introduced in Qt Mobility 1.1.

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

Returns the lock types, the camera supports.

This function was introduced in Qt Mobility 1.1.

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

Unlock camera locks.

This function was introduced in Qt Mobility 1.1.

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.