Pages
API Documentation
On this page

NETPoint Struct

Simple point class for NET classes. More...

  • Header: #include <netwm_def.h>
  • CMake: find_package(KF6 REQUIRED COMPONENTS KWindowSystem)
    target_link_libraries(mytarget PRIVATE KF6::KWindowSystem)

List of all members, including inherited members

Public Functions

Detailed Description

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.

Member Function Documentation

NETPoint::NETPoint()

Constructor to initialize this point to 0,0.

Member Variable Documentation

int NETPoint::x

This variable holds the point's X coordinate.

int NETPoint::y

This variable holds the point's Y coordinate.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.