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

#include <rules.h>

Public Member Functions

 WindowRules (const QList< Rules * > &rules)
 
 WindowRules ()
 
void update (Window *, int selection)
 
bool contains (const Rules *rule) const
 
void remove (Rules *rule)
 
PlacementPolicy checkPlacement (PlacementPolicy placement) const
 
QRectF checkGeometry (QRectF rect, bool init=false) const
 
QRectF checkGeometrySafe (QRectF rect, bool init=false) const
 
QPointF checkPositionSafe (QPointF pos, bool init=false) const
 
QPointF checkPosition (QPointF pos, bool init=false) const
 
QSizeF checkSize (QSizeF s, bool init=false) const
 
QSizeF checkMinSize (QSizeF s) const
 
QSizeF checkMaxSize (QSizeF s) const
 
int checkOpacityActive (int s) const
 
int checkOpacityInactive (int s) const
 
bool checkIgnoreGeometry (bool ignore, bool init=false) const
 
QList< VirtualDesktop * > checkDesktops (QList< VirtualDesktop * > desktops, bool init=false) const
 
OutputcheckOutput (Output *output, bool init=false) const
 
QStringList checkActivity (QStringList activity, bool init=false) const
 
MaximizeMode checkMaximize (MaximizeMode mode, bool init=false) const
 
bool checkMinimize (bool minimized, bool init=false) const
 
ShadeMode checkShade (ShadeMode shade, bool init=false) const
 
bool checkSkipTaskbar (bool skip, bool init=false) const
 
bool checkSkipPager (bool skip, bool init=false) const
 
bool checkSkipSwitcher (bool skip, bool init=false) const
 
bool checkKeepAbove (bool above, bool init=false) const
 
bool checkKeepBelow (bool below, bool init=false) const
 
bool checkFullScreen (bool fs, bool init=false) const
 
bool checkNoBorder (bool noborder, bool init=false) const
 
QString checkDecoColor (QString schemeFile) const
 
bool checkBlockCompositing (bool block) const
 
int checkFSP (int fsp) const
 
int checkFPP (int fpp) const
 
bool checkAcceptFocus (bool focus) const
 
bool checkCloseable (bool closeable) const
 
bool checkAutogrouping (bool autogroup) const
 
bool checkAutogroupInForeground (bool fg) const
 
QString checkAutogroupById (QString id) const
 
bool checkStrictGeometry (bool strict) const
 
QString checkShortcut (QString s, bool init=false) const
 
bool checkDisableGlobalShortcuts (bool disable) const
 
QString checkDesktopFile (QString desktopFile, bool init=false) const
 
Layer checkLayer (Layer layer) const
 
bool checkAdaptiveSync (bool adaptivesync) const
 

Detailed Description

Definition at line 33 of file rules.h.

Constructor & Destructor Documentation

◆ WindowRules() [1/2]

KWin::WindowRules::WindowRules ( const QList< Rules * > & rules)
inlineexplicit

Definition at line 360 of file rules.h.

◆ WindowRules() [2/2]

KWin::WindowRules::WindowRules ( )
inline

Definition at line 365 of file rules.h.

Member Function Documentation

◆ checkAcceptFocus()

bool KWin::WindowRules::checkAcceptFocus ( bool focus) const

◆ checkActivity()

QStringList KWin::WindowRules::checkActivity ( QStringList activity,
bool init = false ) const

◆ checkAdaptiveSync()

bool KWin::WindowRules::checkAdaptiveSync ( bool adaptivesync) const

◆ checkAutogroupById()

QString KWin::WindowRules::checkAutogroupById ( QString id) const

◆ checkAutogroupInForeground()

bool KWin::WindowRules::checkAutogroupInForeground ( bool fg) const

◆ checkAutogrouping()

bool KWin::WindowRules::checkAutogrouping ( bool autogroup) const

◆ checkBlockCompositing()

bool KWin::WindowRules::checkBlockCompositing ( bool block) const

◆ checkCloseable()

bool KWin::WindowRules::checkCloseable ( bool closeable) const

◆ checkDecoColor()

QString KWin::WindowRules::checkDecoColor ( QString schemeFile) const

◆ checkDesktopFile()

QString KWin::WindowRules::checkDesktopFile ( QString desktopFile,
bool init = false ) const

◆ checkDesktops()

QList< VirtualDesktop * > KWin::WindowRules::checkDesktops ( QList< VirtualDesktop * > desktops,
bool init = false ) const

◆ checkDisableGlobalShortcuts()

bool KWin::WindowRules::checkDisableGlobalShortcuts ( bool disable) const

◆ checkFPP()

int KWin::WindowRules::checkFPP ( int fpp) const

◆ checkFSP()

int KWin::WindowRules::checkFSP ( int fsp) const

◆ checkFullScreen()

bool KWin::WindowRules::checkFullScreen ( bool fs,
bool init = false ) const

◆ checkGeometry()

QRectF KWin::WindowRules::checkGeometry ( QRectF rect,
bool init = false ) const

Definition at line 766 of file rules.cpp.

◆ checkGeometrySafe()

QRectF KWin::WindowRules::checkGeometrySafe ( QRectF rect,
bool init = false ) const

Definition at line 771 of file rules.cpp.

◆ checkIgnoreGeometry()

bool KWin::WindowRules::checkIgnoreGeometry ( bool ignore,
bool init = false ) const

◆ checkKeepAbove()

bool KWin::WindowRules::checkKeepAbove ( bool above,
bool init = false ) const

◆ checkKeepBelow()

bool KWin::WindowRules::checkKeepBelow ( bool below,
bool init = false ) const

◆ checkLayer()

Layer KWin::WindowRules::checkLayer ( Layer layer) const

◆ checkMaximize()

MaximizeMode KWin::WindowRules::checkMaximize ( MaximizeMode mode,
bool init = false ) const

Definition at line 806 of file rules.cpp.

◆ checkMaxSize()

QSizeF KWin::WindowRules::checkMaxSize ( QSizeF s) const

◆ checkMinimize()

bool KWin::WindowRules::checkMinimize ( bool minimized,
bool init = false ) const

◆ checkMinSize()

QSizeF KWin::WindowRules::checkMinSize ( QSizeF s) const

◆ checkNoBorder()

bool KWin::WindowRules::checkNoBorder ( bool noborder,
bool init = false ) const

◆ checkOpacityActive()

int KWin::WindowRules::checkOpacityActive ( int s) const

◆ checkOpacityInactive()

int KWin::WindowRules::checkOpacityInactive ( int s) const

◆ checkOutput()

Output * KWin::WindowRules::checkOutput ( Output * output,
bool init = false ) const

Definition at line 813 of file rules.cpp.

◆ checkPlacement()

PlacementPolicy KWin::WindowRules::checkPlacement ( PlacementPolicy placement) const

◆ checkPosition()

QPointF KWin::WindowRules::checkPosition ( QPointF pos,
bool init = false ) const

◆ checkPositionSafe()

QPointF KWin::WindowRules::checkPositionSafe ( QPointF pos,
bool init = false ) const

Definition at line 776 of file rules.cpp.

◆ checkShade()

ShadeMode KWin::WindowRules::checkShade ( ShadeMode shade,
bool init = false ) const

◆ checkShortcut()

QString KWin::WindowRules::checkShortcut ( QString s,
bool init = false ) const

◆ checkSize()

QSizeF KWin::WindowRules::checkSize ( QSizeF s,
bool init = false ) const

◆ checkSkipPager()

bool KWin::WindowRules::checkSkipPager ( bool skip,
bool init = false ) const

◆ checkSkipSwitcher()

bool KWin::WindowRules::checkSkipSwitcher ( bool skip,
bool init = false ) const

◆ checkSkipTaskbar()

bool KWin::WindowRules::checkSkipTaskbar ( bool skip,
bool init = false ) const

◆ checkStrictGeometry()

bool KWin::WindowRules::checkStrictGeometry ( bool strict) const

◆ contains()

bool KWin::WindowRules::contains ( const Rules * rule) const
inline

Definition at line 369 of file rules.h.

◆ remove()

void KWin::WindowRules::remove ( Rules * rule)
inline

Definition at line 374 of file rules.h.

◆ update()

void KWin::WindowRules::update ( Window * c,
int selection )

Definition at line 719 of file rules.cpp.


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