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

Member Data Documentation

◆ pos

NETPoint NETRect::pos

Position of the rectangle.

See also

Definition at line 126 of file netwm_def.h.

◆ size

NETSize NETRect::size

Size of the rectangle.

See also

Definition at line 133 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 Sat Sep 30 2023 04:10:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.