|
KWin
|
#include <cursorsource.h>
Public Member Functions | |
| ShapeCursorSource (QObject *parent=nullptr) | |
| QImage | image () const |
| QByteArray | shape () const |
| void | setShape (const QByteArray &shape) |
| void | setShape (Qt::CursorShape shape) |
| KXcursorTheme | theme () const |
| void | setTheme (const KXcursorTheme &theme) |
Public Member Functions inherited from KWin::CursorSource | |
| CursorSource (QObject *parent=nullptr) | |
| QSizeF | size () const |
| QPointF | hotspot () const |
Additional Inherited Members | |
Signals inherited from KWin::CursorSource | |
| void | changed () |
Protected Attributes inherited from KWin::CursorSource | |
| QSizeF | m_size = QSizeF(0, 0) |
| QPointF | m_hotspot |
The ShapeCursorSource class represents the contents of a shape in the cursor theme.
Definition at line 45 of file cursorsource.h.
|
explicit |
Definition at line 29 of file cursorsource.cpp.
| QImage KWin::ShapeCursorSource::image | ( | ) | const |
Definition at line 36 of file cursorsource.cpp.
| void KWin::ShapeCursorSource::setShape | ( | const QByteArray & | shape | ) |
Definition at line 46 of file cursorsource.cpp.
| void KWin::ShapeCursorSource::setShape | ( | Qt::CursorShape | shape | ) |
Definition at line 54 of file cursorsource.cpp.
| void KWin::ShapeCursorSource::setTheme | ( | const KXcursorTheme & | theme | ) |
Definition at line 64 of file cursorsource.cpp.
| QByteArray KWin::ShapeCursorSource::shape | ( | ) | const |
Definition at line 41 of file cursorsource.cpp.
| KXcursorTheme KWin::ShapeCursorSource::theme | ( | ) | const |
Definition at line 59 of file cursorsource.cpp.