#include <netwm_def.h>

Public Member Functions

 NETSize ()
 NETSize (const QSize &size)
QSize toSize () const

Public Attributes

int height
int width

Detailed Description

Simple size class for NET classes.

This class is a convenience class defining a size width by height. The existence of this class is to keep the implementation from being dependent on a separate framework/library.

NETSize is only used by the NET API. Usually QSize is the appropriate class for representing a size.

Bradley T. Hughes

Definition at line 68 of file netwm_def.h.

Constructor & Destructor Documentation

◆ NETSize() [1/2]

NETSize::NETSize ( )

Constructor to initialize this size to 0x0.

Definition at line 72 of file netwm_def.h.

◆ NETSize() [2/2]

NETSize::NETSize ( const QSize & size)

Definition at line 78 of file netwm_def.h.

Member Function Documentation

◆ toSize()

QSize NETSize::toSize ( ) const

Definition at line 84 of file netwm_def.h.

Member Data Documentation

◆ height

int NETSize::height


Definition at line 92 of file netwm_def.h.

◆ width

int NETSize::width


Definition at line 91 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 Fri Jul 12 2024 11:52:38 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.