C

QSafeBitmapResource Class

(SafeRenderer::QSafeBitmapResource)

The QSafeBitmapResource class provides the Qt resource file implementation of QSafeBitmap. More...

Header: #include <QSafeBitmapResource>
Since: QtSafeRenderer 1.0
Inherits: SafeRenderer::QSafeBitmap

Public Functions

QSafeBitmapResource()
virtual ~QSafeBitmapResource()
virtual const ARGB *scanline(const quint32 pixelRow) const

Detailed Description

The QSafeBitmapResource class provides the Qt resource file implementation of QSafeBitmap.

It is possible to link the data structures generated by Qt's resource compiler into the Qt Safe Renderer binary. The generated data can be accessed using the QSafeBitmapResource class.

Note: Only uncompressed resource binaries are supported. That is, you must call the resource compiler with -no-compress option if you use the resource compiler via the command line. For more information, see Resource Compiler (rcc).

Member Function Documentation

QSafeBitmapResource::QSafeBitmapResource()

Constructs a QSafeBitmapResource object.

Note: Only uncompressed resource binaries are supported. That is, you must call the resource compiler with -no-compress option if you use the resource compiler via the command line. For more information, see Resource Compiler (rcc).

[virtual] QSafeBitmapResource::~QSafeBitmapResource()

Destroys the instance of QSafeBitmapResource. The destructor is virtual.

[virtual] const ARGB *QSafeBitmapResource::scanline(const quint32 pixelRow) const

Getter for a bitmap row.

Returns the pointer to the start of bitmap's pixelRow row or NULL if pixelRow is out of range.

Available under certain Qt licenses.
Find out more.