KWindowSystem
NETRect Struct Reference
#include <netwm_def.h>
Public Member Functions | |
NETRect (const QRect &rect) | |
QRect | toRect () const |
Public Attributes | |
NETPoint | pos |
NETSize | size |
Detailed Description
Simple rectangle class for NET classes.
This class is a convenience class defining a rectangle as a point x,y with a size width by height. The existence of this class is to keep the implementation from being dependent on a separate framework/library;
NETRect is only used by the NET API. Usually QRect is the appropriate class for representing a rectangle.
Definition at line 105 of file netwm_def.h.
Constructor & Destructor Documentation
◆ NETRect() [1/2]
|
inline |
Definition at line 106 of file netwm_def.h.
◆ NETRect() [2/2]
|
inline |
Definition at line 110 of file netwm_def.h.
Member Function Documentation
◆ toRect()
|
inline |
Definition at line 116 of file netwm_def.h.
Member Data Documentation
◆ pos
NETPoint NETRect::pos |
◆ size
NETSize NETRect::size |
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 Sat Dec 21 2024 17:06:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.