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

#include <cursorsource.h>

Inheritance diagram for KWin::ShapeCursorSource:
KWin::CursorSource

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
 

Detailed Description

The ShapeCursorSource class represents the contents of a shape in the cursor theme.

Definition at line 45 of file cursorsource.h.

Constructor & Destructor Documentation

◆ ShapeCursorSource()

KWin::ShapeCursorSource::ShapeCursorSource ( QObject * parent = nullptr)
explicit

Definition at line 29 of file cursorsource.cpp.

Member Function Documentation

◆ image()

QImage KWin::ShapeCursorSource::image ( ) const

Definition at line 36 of file cursorsource.cpp.

◆ setShape() [1/2]

void KWin::ShapeCursorSource::setShape ( const QByteArray & shape)

Definition at line 46 of file cursorsource.cpp.

◆ setShape() [2/2]

void KWin::ShapeCursorSource::setShape ( Qt::CursorShape shape)

Definition at line 54 of file cursorsource.cpp.

◆ setTheme()

void KWin::ShapeCursorSource::setTheme ( const KXcursorTheme & theme)

Definition at line 64 of file cursorsource.cpp.

◆ shape()

QByteArray KWin::ShapeCursorSource::shape ( ) const

Definition at line 41 of file cursorsource.cpp.

◆ theme()

KXcursorTheme KWin::ShapeCursorSource::theme ( ) const

Definition at line 59 of file cursorsource.cpp.


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