Home · All Classes · All Functions · Overviews

QDeclarativeImageProvider Class Reference
[QtDeclarative module]

The QDeclarativeImageProvider class provides an interface for threaded image requests. More...

 #include <QDeclarativeImageProvider>

Public Functions

virtual ~QDeclarativeImageProvider ()
virtual QImage request ( const QString & id ) = 0

Detailed Description

The QDeclarativeImageProvider class provides an interface for threaded image requests.

Note: the request() method may be called by multiple threads, so ensure the implementation of this method is reentrant.

See also QDeclarativeEngine::addImageProvider().


Member Function Documentation

QDeclarativeImageProvider::~QDeclarativeImageProvider ()   [virtual]

QImage QDeclarativeImageProvider::request ( const QString & id )   [pure virtual]

Implement this method to return the image with id.

Note: this method may be called by multiple threads, so ensure the implementation of this method is reentrant.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0