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

#include <kcm.h>

Inheritance diagram for KCMKWinDecoration:

Public Slots

void load () override
 
void save () override
 
void defaults () override
 
void reloadKWinSettings ()
 

Signals

void themeChanged ()
 
void borderIndexChanged ()
 
void borderSizeChanged ()
 

Public Member Functions

 KCMKWinDecoration (QObject *parent, const KPluginMetaData &metaData)
 
KWinDecorationSettings * settings () const
 
QSortFilterProxyModel * themesModel () const
 
QAbstractListModel * leftButtonsModel ()
 
QAbstractListModel * rightButtonsModel ()
 
QAbstractListModel * availableButtonsModel () const
 
QStringList borderSizesModel () const
 
int borderIndex () const
 
int borderSize () const
 
int recommendedBorderSize () const
 
int theme () const
 
void setBorderIndex (int index)
 
void setBorderSize (int index)
 
void setBorderSize (KDecoration2::BorderSize size)
 
void setTheme (int index)
 

Properties

KWinDecorationSettings * settings
 
QSortFilterProxyModel * themesModel
 
QStringList borderSizesModel
 
int borderIndex
 
int borderSize
 
int recommendedBorderSize
 
int theme
 
QAbstractListModel * leftButtonsModel
 
QAbstractListModel * rightButtonsModel
 
QAbstractListModel * availableButtonsModel
 

Detailed Description

Definition at line 34 of file kcm.h.

Constructor & Destructor Documentation

◆ KCMKWinDecoration()

KCMKWinDecoration::KCMKWinDecoration ( QObject * parent,
const KPluginMetaData & metaData )

Definition at line 38 of file kcm.cpp.

Member Function Documentation

◆ availableButtonsModel()

QAbstractListModel * KCMKWinDecoration::availableButtonsModel ( ) const

Definition at line 167 of file kcm.cpp.

◆ borderIndex()

int KCMKWinDecoration::borderIndex ( ) const

Definition at line 181 of file kcm.cpp.

◆ borderIndexChanged

void KCMKWinDecoration::borderIndexChanged ( )
signal

◆ borderSize()

int KCMKWinDecoration::borderSize ( ) const

Definition at line 193 of file kcm.cpp.

◆ borderSizeChanged

void KCMKWinDecoration::borderSizeChanged ( )
signal

◆ borderSizesModel()

QStringList KCMKWinDecoration::borderSizesModel ( ) const

Definition at line 172 of file kcm.cpp.

◆ defaults

void KCMKWinDecoration::defaults ( )
overrideslot

Definition at line 132 of file kcm.cpp.

◆ leftButtonsModel()

QAbstractListModel * KCMKWinDecoration::leftButtonsModel ( )

◆ load

void KCMKWinDecoration::load ( )
overrideslot

Definition at line 103 of file kcm.cpp.

◆ recommendedBorderSize()

int KCMKWinDecoration::recommendedBorderSize ( ) const

Definition at line 198 of file kcm.cpp.

◆ reloadKWinSettings

void KCMKWinDecoration::reloadKWinSettings ( )
slot

Definition at line 98 of file kcm.cpp.

◆ rightButtonsModel()

QAbstractListModel * KCMKWinDecoration::rightButtonsModel ( )

◆ save

void KCMKWinDecoration::save ( )
overrideslot

Definition at line 115 of file kcm.cpp.

◆ setBorderIndex()

void KCMKWinDecoration::setBorderIndex ( int index)

Definition at line 186 of file kcm.cpp.

◆ setBorderSize() [1/2]

void KCMKWinDecoration::setBorderSize ( int index)

Definition at line 217 of file kcm.cpp.

◆ setBorderSize() [2/2]

void KCMKWinDecoration::setBorderSize ( KDecoration2::BorderSize size)

Definition at line 225 of file kcm.cpp.

◆ setTheme()

void KCMKWinDecoration::setTheme ( int index)

Definition at line 230 of file kcm.cpp.

◆ settings()

KWinDecorationSettings * KCMKWinDecoration::settings ( ) const

Definition at line 93 of file kcm.cpp.

◆ theme()

int KCMKWinDecoration::theme ( ) const

Definition at line 212 of file kcm.cpp.

◆ themeChanged

void KCMKWinDecoration::themeChanged ( )
signal

◆ themesModel()

QSortFilterProxyModel * KCMKWinDecoration::themesModel ( ) const

Definition at line 152 of file kcm.cpp.

Property Documentation

◆ availableButtonsModel

QAbstractListModel * KCMKWinDecoration::availableButtonsModel
read

Definition at line 46 of file kcm.h.

◆ borderIndex

int KCMKWinDecoration::borderIndex
readwrite

Definition at line 40 of file kcm.h.

◆ borderSize

int KCMKWinDecoration::borderSize
read

Definition at line 41 of file kcm.h.

◆ borderSizesModel

QStringList KCMKWinDecoration::borderSizesModel
read

Definition at line 39 of file kcm.h.

◆ leftButtonsModel

QAbstractListModel * KCMKWinDecoration::leftButtonsModel
read

Definition at line 44 of file kcm.h.

◆ recommendedBorderSize

int KCMKWinDecoration::recommendedBorderSize
read

Definition at line 42 of file kcm.h.

◆ rightButtonsModel

QAbstractListModel * KCMKWinDecoration::rightButtonsModel
read

Definition at line 45 of file kcm.h.

◆ settings

KWinDecorationSettings * KCMKWinDecoration::settings
read

Definition at line 37 of file kcm.h.

◆ theme

int KCMKWinDecoration::theme
readwrite

Definition at line 43 of file kcm.h.

◆ themesModel

QSortFilterProxyModel * KCMKWinDecoration::themesModel
read

Definition at line 38 of file kcm.h.


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