KWindowSystem

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

NETRect::NETRect ( )
inline

Definition at line 106 of file netwm_def.h.

◆ NETRect() [2/2]

NETRect::NETRect ( const QRect & rect)
inline

Definition at line 110 of file netwm_def.h.

Member Function Documentation

◆ toRect()

QRect NETRect::toRect ( ) const
inline

Definition at line 116 of file netwm_def.h.

Member Data Documentation

◆ pos

NETPoint NETRect::pos

Position of the rectangle.

See also
NETPoint

Definition at line 126 of file netwm_def.h.

◆ size

NETSize NETRect::size

Size of the rectangle.

See also
NETSize

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