KWindowSystem
NETSize Struct Reference
#include <netwm_def.h>
Public Member Functions | |
NETSize () | |
NETSize (const QSize &size) | |
QSize | toSize () const |
Public Attributes | |
int | height |
int | width |
Detailed Description
Simple size class for NET classes.
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.
Definition at line 68 of file netwm_def.h.
Constructor & Destructor Documentation
◆ NETSize() [1/2]
|
inline |
Constructor to initialize this size to 0x0.
Definition at line 72 of file netwm_def.h.
◆ NETSize() [2/2]
|
inline |
Definition at line 78 of file netwm_def.h.
Member Function Documentation
◆ toSize()
|
inline |
Definition at line 84 of file netwm_def.h.
Member Data Documentation
◆ height
int NETSize::height |
Height.
Definition at line 92 of file netwm_def.h.
◆ width
int NETSize::width |
Width.
Definition at line 91 of file netwm_def.h.
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.