KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
KWin::CursorShape Class Reference

Wrapper round Qt::CursorShape with extensions enums into a single entity. More...

#include <cursor.h>

Public Member Functions

 CursorShape ()=default
 
 CursorShape (Qt::CursorShape qtShape)
 
 CursorShape (KWin::ExtendedCursor::Shape kwinShape)
 
bool operator== (const CursorShape &o) const
 
 operator int () const
 
QByteArray name () const
 The name of a cursor shape in the theme.
 

Static Public Member Functions

static QList< QByteArray > alternatives (const QByteArray &name)
 

Detailed Description

Wrapper round Qt::CursorShape with extensions enums into a single entity.

Definition at line 49 of file cursor.h.

Constructor & Destructor Documentation

◆ CursorShape() [1/3]

KWin::CursorShape::CursorShape ( )
default

◆ CursorShape() [2/3]

KWin::CursorShape::CursorShape ( Qt::CursorShape qtShape)
inline

Definition at line 53 of file cursor.h.

◆ CursorShape() [3/3]

KWin::CursorShape::CursorShape ( KWin::ExtendedCursor::Shape kwinShape)
inline

Definition at line 57 of file cursor.h.

Member Function Documentation

◆ alternatives()

QList< QByteArray > KWin::CursorShape::alternatives ( const QByteArray & name)
static

Returns the list of alternative shape names for a shape with the specified name.

Definition at line 343 of file cursor.cpp.

◆ name()

QByteArray KWin::CursorShape::name ( ) const

The name of a cursor shape in the theme.

Definition at line 632 of file cursor.cpp.

◆ operator int()

KWin::CursorShape::operator int ( ) const
inline

Definition at line 65 of file cursor.h.

◆ operator==()

bool KWin::CursorShape::operator== ( const CursorShape & o) const
inline

Definition at line 61 of file cursor.h.


The documentation for this class was generated from the following files: