Home · All Classes · All Functions ·

QImageCaptureControl Class Reference

The QImageCaptureControl class provides a control interface for image capture services. More...

    #include <QImageCaptureControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QImageCaptureControl ()
virtual void capture ( const QString & fileName ) = 0
virtual bool isReadyForCapture () const = 0

Signals

void error ( int error, const QString & errorString )
void imageCaptured ( const QString & fileName, const QImage & preview )
void imageSaved ( const QString & fileName )
void readyForCaptureChanged ( bool ready )

Protected Functions

QImageCaptureControl ( QObject * parent = 0 )

Macros

QImageCaptureControl_iid

Additional Inherited Members


Detailed Description

The QImageCaptureControl class provides a control interface for image capture services.

The interface name of QImageCaptureControl is com.nokia.Qt.QImageCaptureControl/1.0 as defined in QImageCaptureControl_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().


Member Function Documentation

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

Constructs a new image capture control object with the given parent

QImageCaptureControl::~QImageCaptureControl ()

Destroys an image capture control.

void QImageCaptureControl::capture ( const QString & fileName )   [pure virtual]

Initiates the capture of an image to fileName.

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

void QImageCaptureControl::imageCaptured ( const QString & fileName, const QImage & preview )   [signal]

Signals that an image intendec to be saved to to fileName has been captured and a preview is available.

void QImageCaptureControl::imageSaved ( const QString & fileName )   [signal]

Signals that an captured image has been saved to fileName.

bool QImageCaptureControl::isReadyForCapture () const   [pure virtual]

Identifies if a capture control is ready to perform a capture.

Returns true if the control is ready; and false if it is not.

void QImageCaptureControl::readyForCaptureChanged ( bool ready )   [signal]

Signals that a capture control's ready state has changed.


Macro Documentation

QImageCaptureControl_iid

com.nokia.Qt.QImageCaptureControl/1.0

Defines the interface name of the QImageCaptureControl class.


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