NETSize Struct

Simple size class for NET classes. More...

Header: #include <NETSize>
CMake: find_package(KF6 REQUIRED COMPONENTS KWindowSystem)
target_link_libraries(mytarget PRIVATE KF6::KWindowSystem)

Public Functions

Public Variables

int height
int width

Detailed Description

This class is a convenience class defining a size width by height. The existence of this class is to keep the implementation from being dependent on a separate framework/library.

NETSize is only used by the NET API. Usually QSize is the appropriate class for representing a size.

Member Function Documentation

NETSize::NETSize()

Constructor to initialize this size to 0x0

Member Variable Documentation

int NETSize::height

The size's height.

int NETSize::width

The size's width.