Home · All Classes · All Functions ·

QCameraControl Class Reference

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

    #include <QCameraControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QCameraControl ()
virtual QCamera::CaptureMode captureMode () const = 0
virtual void setCaptureMode ( QCamera::CaptureMode ) = 0
virtual void start () = 0
virtual QCamera::State state () const = 0
virtual void stop () = 0
virtual QCamera::CaptureModes supportedCaptureModes () const = 0

Signals

void captureModeChanged ( QCamera::CaptureMode )
void error ( int error, const QString & errorString )
void stateChanged ( QCamera::State state )

Protected Functions

QCameraControl ( QObject * parent = 0 )

Macros

QCameraControl_iid

Additional Inherited Members


Detailed Description

The QCameraControl 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 QCameraControl is com.nokia.Qt.QCameraControl/1.0 as defined in QCameraControl_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::control() and QCamera.


Member Function Documentation

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

Constructs a camera control object with parent.

QCameraControl::~QCameraControl ()

Destruct the camera control object.

QCamera::CaptureMode QCameraControl::captureMode () const   [pure virtual]

See also setCaptureMode().

void QCameraControl::captureModeChanged ( QCamera::CaptureMode )   [signal]

void QCameraControl::error ( int error, const QString & errorString )   [signal]

Signal emitted when an error occurs with error code error and a description of the error errorString.

void QCameraControl::setCaptureMode ( QCamera::CaptureMode )   [pure virtual]

See also captureMode().

void QCameraControl::start ()   [pure virtual]

Start the camera service.

QCamera::State QCameraControl::state () const   [pure virtual]

Returns the state of the camera service.

See also QCamera::state.

void QCameraControl::stateChanged ( QCamera::State state )   [signal]

Signal emitted when state changes state.

void QCameraControl::stop ()   [pure virtual]

Stop the camera service.

QCamera::CaptureModes QCameraControl::supportedCaptureModes () const   [pure virtual]


Macro Documentation

QCameraControl_iid

com.nokia.Qt.QCameraControl/1.0

Defines the interface name of the QCameraControl class.


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