KWindowSystem
NETPoint Struct Reference
#include <netwm_def.h>
Public Member Functions | |
NETPoint () | |
NETPoint (const QPoint &p) | |
QPoint | toPoint () const |
Public Attributes | |
int | x |
int | y |
Detailed Description
Simple point class for NET classes.
This class is a convenience class defining a point x, y. The existence of this class is to keep the implementation from being dependent on a separate framework/library.
NETPoint is only used by the NET API. Usually QPoint is the appropriate class for representing a point.
Definition at line 27 of file netwm_def.h.
Constructor & Destructor Documentation
◆ NETPoint() [1/2]
|
inline |
Constructor to initialize this point to 0,0.
Definition at line 31 of file netwm_def.h.
◆ NETPoint() [2/2]
|
inline |
Definition at line 37 of file netwm_def.h.
Member Function Documentation
◆ toPoint()
|
inline |
Definition at line 43 of file netwm_def.h.
Member Data Documentation
◆ x
int NETPoint::x |
x coordinate.
Definition at line 51 of file netwm_def.h.
◆ y
int NETPoint::y |
y coordinate
Definition at line 52 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.