#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.

Bradley T. Hughes bhugh[email protected][email protected][email protected]rollt[email protected]ech.[email protected]com

Definition at line 27 of file netwm_def.h.

Constructor & Destructor Documentation

◆ NETPoint()

NETPoint::NETPoint ( )

Constructor to initialize this point to 0,0.

Definition at line 31 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-2023 The KDE developers.
Generated on Tue Mar 21 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.