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

#include <desktopbackgrounditem.h>

Inheritance diagram for KWin::DesktopBackgroundItem:
KWin::WindowThumbnailItem

Signals

void outputChanged ()
 
void desktopChanged ()
 
void activityChanged ()
 
- Signals inherited from KWin::WindowThumbnailItem
void wIdChanged (qulonglong wid)
 
void sourceSizeChanged ()
 
void wIdChanged ()
 
void clientChanged ()
 

Public Member Functions

 DesktopBackgroundItem (QQuickItem *parent=nullptr)
 
void componentComplete () override
 
QString outputName () const
 
void setOutputName (const QString &name)
 
Outputoutput () const
 
void setOutput (Output *output)
 
VirtualDesktopdesktop () const
 
void setDesktop (VirtualDesktop *desktop)
 
QString activity () const
 
void setActivity (const QString &activity)
 
- Public Member Functions inherited from KWin::WindowThumbnailItem
 WindowThumbnailItem (QQuickItem *parent=nullptr)
 
 ~WindowThumbnailItem () override
 
qulonglong wId () const
 
QSize sourceSize () const
 
void setWId (qulonglong wId)
 
void setSourceSize (const QSize &size)
 
QSGNode * updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override
 
 WindowThumbnailItem (QQuickItem *parent=nullptr)
 
 ~WindowThumbnailItem () override
 
QUuid wId () const
 
void setWId (const QUuid &wId)
 
Windowclient () const
 
void setClient (Window *client)
 
QSGTextureProvider * textureProvider () const override
 
bool isTextureProvider () const override
 
QSGNode * updatePaintNode (QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *) override
 

Properties

QString outputName
 
KWin::Outputoutput
 
QString activity
 
KWin::VirtualDesktopdesktop
 
- Properties inherited from KWin::WindowThumbnailItem
qulonglong wId
 
QSize sourceSize
 
QUuid wId
 
KWin::Windowclient
 

Additional Inherited Members

- Public Types inherited from KWin::WindowThumbnailItem
enum  Thumbnail {
  Konqueror = 1 , KMail , Systemsettings , Dolphin ,
  Desktop
}
 
- Protected Member Functions inherited from KWin::WindowThumbnailItem
void releaseResources () override
 
void itemChange (QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value) override
 

Detailed Description

The DesktopBackgroundItem type is a convenience helper that represents the desktop background on the specified screen, virtual desktop, and activity.

Definition at line 21 of file desktopbackgrounditem.h.

Constructor & Destructor Documentation

◆ DesktopBackgroundItem()

KWin::DesktopBackgroundItem::DesktopBackgroundItem ( QQuickItem * parent = nullptr)
explicit

Definition at line 22 of file desktopbackgrounditem.cpp.

Member Function Documentation

◆ activity()

QString KWin::DesktopBackgroundItem::activity ( ) const

Definition at line 71 of file desktopbackgrounditem.cpp.

◆ activityChanged

void KWin::DesktopBackgroundItem::activityChanged ( )
signal

◆ componentComplete()

void KWin::DesktopBackgroundItem::componentComplete ( )
override

Definition at line 27 of file desktopbackgrounditem.cpp.

◆ desktop()

VirtualDesktop * KWin::DesktopBackgroundItem::desktop ( ) const

Definition at line 57 of file desktopbackgrounditem.cpp.

◆ desktopChanged

void KWin::DesktopBackgroundItem::desktopChanged ( )
signal

◆ output()

Output * KWin::DesktopBackgroundItem::output ( ) const

Definition at line 43 of file desktopbackgrounditem.cpp.

◆ outputChanged

void KWin::DesktopBackgroundItem::outputChanged ( )
signal

◆ outputName()

QString KWin::DesktopBackgroundItem::outputName ( ) const

Definition at line 33 of file desktopbackgrounditem.cpp.

◆ setActivity()

void KWin::DesktopBackgroundItem::setActivity ( const QString & activity)

Definition at line 76 of file desktopbackgrounditem.cpp.

◆ setDesktop()

void KWin::DesktopBackgroundItem::setDesktop ( VirtualDesktop * desktop)

Definition at line 62 of file desktopbackgrounditem.cpp.

◆ setOutput()

void KWin::DesktopBackgroundItem::setOutput ( Output * output)

Definition at line 48 of file desktopbackgrounditem.cpp.

◆ setOutputName()

void KWin::DesktopBackgroundItem::setOutputName ( const QString & name)

Definition at line 38 of file desktopbackgrounditem.cpp.

Property Documentation

◆ activity

QString KWin::DesktopBackgroundItem::activity
readwrite

Definition at line 26 of file desktopbackgrounditem.h.

◆ desktop

KWin::VirtualDesktop * KWin::DesktopBackgroundItem::desktop
readwrite

Definition at line 27 of file desktopbackgrounditem.h.

◆ output

KWin::Output * KWin::DesktopBackgroundItem::output
readwrite

Definition at line 25 of file desktopbackgrounditem.h.

◆ outputName

QString KWin::DesktopBackgroundItem::outputName
readwrite

Definition at line 24 of file desktopbackgrounditem.h.


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