#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

Definition at line 27 of file netwm_def.h.

Constructor & Destructor Documentation

◆ NETPoint() [1/2]

NETPoint::NETPoint ( )

Constructor to initialize this point to 0,0.

Definition at line 31 of file netwm_def.h.

◆ NETPoint() [2/2]

NETPoint::NETPoint ( const QPoint & p)

Definition at line 37 of file netwm_def.h.

Member Function Documentation

◆ toPoint()

QPoint NETPoint::toPoint ( ) const

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 Tue Mar 26 2024 11:15:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.