C

QSafeBitmapReader Class

class SafeRenderer::QSafeBitmapReader

The QSafeBitmapReader abstract class provides interface for reading bitmap data. More...

Header: #include <QSafeBitmapReader>
Since: QtSafeRenderer 1.0
Inherited By:

SafeRenderer::QSafeBitmapFileReader and SafeRenderer::QSafeBitmapResourceReader

Public Functions

virtual const SafeRenderer::QSafeBitmap *getBitmapByID(const SafeRenderer::quint32 hash) const = 0
virtual void loadBitmap(const SafeRenderer::QSafeFileInfo &fileInfo, const SafeRenderer::quint32 crcArg) = 0

Detailed Description

Interface class for the bitmap reading operations.

Member Function Documentation

[pure virtual] const SafeRenderer::QSafeBitmap *QSafeBitmapReader::getBitmapByID(const SafeRenderer::quint32 hash) const

Returns the pointer to the bitmap data for the layout item. hash is the hash of the name of the QML element in the layout declarative file.

[pure virtual] void QSafeBitmapReader::loadBitmap(const SafeRenderer::QSafeFileInfo &fileInfo, const SafeRenderer::quint32 crcArg)

Pure virtual definition for loading a bitmap file fileInfo. The checksum of the file needs to match with crcArg.

Available under certain Qt licenses.
Find out more.