On this page

C

SafeRenderer::QSafeBitmap Class

class SafeRenderer::QSafeBitmap

The QSafeBitmap class holds the bitmap file. More...

Header: #include <QSafeBitmap>
Since: QtSafeRenderer 1.1
Inherited By:

SafeRenderer::QSafeBitmapBuffer and SafeRenderer::QSafeBitmapResource

Public Functions

SafeRenderer::quint32 hash() const
SafeRenderer::qint32 height() const
void setHash(const SafeRenderer::quint32 hashArg)
SafeRenderer::qint32 width() const

Protected Functions

QSafeBitmap()
QSafeBitmap(const SafeRenderer::QSafeBitmap &other)
QSafeBitmap(SafeRenderer::QSafeBitmap &&other)
~QSafeBitmap()
SafeRenderer::QSafeBitmap &operator=(SafeRenderer::QSafeBitmap &&other)
SafeRenderer::QSafeBitmap &operator=(const SafeRenderer::QSafeBitmap &other)

Detailed Description

Member Function Documentation

[constexpr noexcept protected default] QSafeBitmap::QSafeBitmap()

Constructor for the QSafeBitmap class.

[constexpr noexcept protected default] QSafeBitmap::QSafeBitmap(const SafeRenderer::QSafeBitmap &other)

Copy-constructs an instance of QSafeBitmap.

[constexpr noexcept protected default] QSafeBitmap::QSafeBitmap(SafeRenderer::QSafeBitmap &&other)

Move-constructs an instance of QSafeBitmap.

[constexpr noexcept protected default] QSafeBitmap::~QSafeBitmap()

Destroys the instance of QSafeBitmap.

SafeRenderer::quint32 QSafeBitmap::hash() const

Returns the hash value of the bitmap file name.

See also setHash().

SafeRenderer::qint32 QSafeBitmap::height() const

Returns the height of the bitmap.

void QSafeBitmap::setHash(const SafeRenderer::quint32 hashArg)

Sets the hash value to hashArg.

See also hash().

SafeRenderer::qint32 QSafeBitmap::width() const

Returns the width of the bitmap.

[constexpr noexcept protected default] SafeRenderer::QSafeBitmap &QSafeBitmap::operator=(SafeRenderer::QSafeBitmap &&other)

Move-assigns other to this QSafeBitmap instance.

[constexpr noexcept protected default] SafeRenderer::QSafeBitmap &QSafeBitmap::operator=(const SafeRenderer::QSafeBitmap &other)

Copy-assigns other to this QSafeBitmap instance.

Available under certain Qt licenses.
Find out more.