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

#include <xcursortheme.h>

Public Member Functions

 KXcursorTheme ()
 
 KXcursorTheme (const QString &theme, int size, qreal devicePixelRatio)
 
 KXcursorTheme (const KXcursorTheme &other)
 
 ~KXcursorTheme ()
 
KXcursorThemeoperator= (const KXcursorTheme &other)
 
bool operator== (const KXcursorTheme &other)
 
bool operator!= (const KXcursorTheme &other)
 
bool isEmpty () const
 
QList< KXcursorSpriteshape (const QByteArray &name) const
 

Detailed Description

The KXcursorTheme class represents an Xcursor theme.

Definition at line 79 of file xcursortheme.h.

Constructor & Destructor Documentation

◆ KXcursorTheme() [1/3]

KWin::KXcursorTheme::KXcursorTheme ( )

Constructs an empty Xcursor theme.

Definition at line 195 of file xcursortheme.cpp.

◆ KXcursorTheme() [2/3]

KWin::KXcursorTheme::KXcursorTheme ( const QString & theme,
int size,
qreal devicePixelRatio )

Loads the Xcursor theme with the given @ themeName and the desired size. The dpr specifies the desired scale factor. If no theme with the provided name exists, the cursor theme will be empty.

Definition at line 200 of file xcursortheme.cpp.

◆ KXcursorTheme() [3/3]

KWin::KXcursorTheme::KXcursorTheme ( const KXcursorTheme & other)

Constructs a copy of the KXcursorTheme object other.

Definition at line 206 of file xcursortheme.cpp.

◆ ~KXcursorTheme()

KWin::KXcursorTheme::~KXcursorTheme ( )

Destructs the KXcursorTheme object.

Definition at line 211 of file xcursortheme.cpp.

Member Function Documentation

◆ isEmpty()

bool KWin::KXcursorTheme::isEmpty ( ) const

Returns true if the Xcursor theme is empty; otherwise returns false.

Definition at line 231 of file xcursortheme.cpp.

◆ operator!=()

bool KWin::KXcursorTheme::operator!= ( const KXcursorTheme & other)

Definition at line 226 of file xcursortheme.cpp.

◆ operator=()

KXcursorTheme & KWin::KXcursorTheme::operator= ( const KXcursorTheme & other)

Assigns the value of other to the Xcursor theme object.

Definition at line 215 of file xcursortheme.cpp.

◆ operator==()

bool KWin::KXcursorTheme::operator== ( const KXcursorTheme & other)

Definition at line 221 of file xcursortheme.cpp.

◆ shape()

QList< KXcursorSprite > KWin::KXcursorTheme::shape ( const QByteArray & name) const

Returns the list of cursor sprites for the cursor with the given name.

Definition at line 236 of file xcursortheme.cpp.


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