C

QSafeSize Struct

struct SafeRenderer::QSafeSize

The QSafeSize class holds the height and width variables. More...

Header: #include <QSafeSize>
Since: QtSafeRenderer 1.0

Public Functions

QSafeSize()
QSafeSize(const SafeRenderer::quint32 widthArg, const SafeRenderer::quint32 heightArg)
SafeRenderer::quint32 height() const
void setHeight(const SafeRenderer::quint32 heightArg)
void setWidth(const SafeRenderer::quint32 widthArg)
SafeRenderer::quint32 width() const

Detailed Description

The QSafeSize class holds the height and width variables.

Member Function Documentation

QSafeSize::QSafeSize()

Constructs a default safe size object. The width and height values are set to 0.

QSafeSize::QSafeSize(const SafeRenderer::quint32 widthArg, const SafeRenderer::quint32 heightArg)

Constructs a safe size object. The width value is set to widthArg. The height value is set to heightArg.

SafeRenderer::quint32 QSafeSize::height() const

Returns the height.

See also setHeight().

void QSafeSize::setHeight(const SafeRenderer::quint32 heightArg)

Sets the height to heightArg.

See also height().

void QSafeSize::setWidth(const SafeRenderer::quint32 widthArg)

Sets the width to widthArg.

See also width().

SafeRenderer::quint32 QSafeSize::width() const

Returns the width.

See also setWidth().

Available under certain Qt licenses.
Find out more.