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

Signals

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

Protected Functions

QCameraLocksControl ( QObject * parent = 0 )

Macros

QCameraLocksControl_iid

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.

See also QCamera::lockStatus(QCamera::LockType).

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

Signals the lock status was changed with a specified reason.

See also QCamera::lockStatusChanged.

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

Request camera locks.

See also QCamera::searchAndLock(QCamera::LockTypes).

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.

See also QCamera::unlock(QCamera::LockTypes).


Macro Documentation

QCameraLocksControl_iid

com.nokia.Qt.QCameraLocksControl/1.0

Defines the interface name of the QCameraLocksControl class.


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0