KWin
|
#include <xcursortheme.h>
Public Member Functions | |
KXcursorTheme () | |
KXcursorTheme (const QString &theme, int size, qreal devicePixelRatio) | |
KXcursorTheme (const KXcursorTheme &other) | |
~KXcursorTheme () | |
KXcursorTheme & | operator= (const KXcursorTheme &other) |
bool | operator== (const KXcursorTheme &other) |
bool | operator!= (const KXcursorTheme &other) |
bool | isEmpty () const |
QList< KXcursorSprite > | shape (const QByteArray &name) const |
The KXcursorTheme class represents an Xcursor theme.
Definition at line 79 of file xcursortheme.h.
KWin::KXcursorTheme::KXcursorTheme | ( | ) |
Constructs an empty Xcursor theme.
Definition at line 195 of file xcursortheme.cpp.
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.
KWin::KXcursorTheme::KXcursorTheme | ( | const KXcursorTheme & | other | ) |
Constructs a copy of the KXcursorTheme object other.
Definition at line 206 of file xcursortheme.cpp.
KWin::KXcursorTheme::~KXcursorTheme | ( | ) |
Destructs the KXcursorTheme object.
Definition at line 211 of file xcursortheme.cpp.
bool KWin::KXcursorTheme::isEmpty | ( | ) | const |
Returns true
if the Xcursor theme is empty; otherwise returns false
.
Definition at line 231 of file xcursortheme.cpp.
bool KWin::KXcursorTheme::operator!= | ( | const KXcursorTheme & | other | ) |
Definition at line 226 of file xcursortheme.cpp.
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.
bool KWin::KXcursorTheme::operator== | ( | const KXcursorTheme & | other | ) |
Definition at line 221 of file xcursortheme.cpp.
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.