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

#include <x11_standalone_edge.h>

Inheritance diagram for KWin::WindowBasedEdge:
KWin::Edge

Public Member Functions

 WindowBasedEdge (ScreenEdges *parent)
 
 ~WindowBasedEdge () override
 
quint32 window () const override
 
quint32 approachWindow () const override
 
- Public Member Functions inherited from KWin::Edge
 Edge (ScreenEdges *parent)
 
 ~Edge () override
 
bool isLeft () const
 
bool isTop () const
 
bool isRight () const
 
bool isBottom () const
 
bool isCorner () const
 
bool isScreenEdge () const
 
bool triggersFor (const QPoint &cursorPos) const
 
bool check (const QPoint &cursorPos, const QDateTime &triggerTime, bool forceNoPushBack=false)
 
void markAsTriggered (const QPoint &cursorPos, const QDateTime &triggerTime)
 
bool isReserved () const
 
const QRect & approachGeometry () const
 
ElectricBorder border () const
 
void reserve (QObject *object, const char *slot)
 
const QHash< QObject *, QByteArray > & callBacks () const
 
void reserveTouchCallBack (QAction *action, TouchCallback::CallbackFunction callback=nullptr)
 
void unreserveTouchCallBack (QAction *action)
 
void startApproaching ()
 
void stopApproaching ()
 
bool isApproaching () const
 
void setClient (Window *client)
 
Windowclient () const
 
void setOutput (Output *output)
 
Outputoutput () const
 
const QRect & geometry () const
 
void setTouchAction (ElectricBorderAction action)
 
bool activatesForPointer () const
 
bool activatesForTouchGesture () const
 

Protected Member Functions

void doGeometryUpdate () override
 
void doActivate () override
 
void doDeactivate () override
 
void doStartApproaching () override
 
void doStopApproaching () override
 
void doUpdateBlocking () override
 
- Protected Member Functions inherited from KWin::Edge
ScreenEdgesedges ()
 
const ScreenEdgesedges () const
 
bool isBlocked () const
 

Additional Inherited Members

- Public Slots inherited from KWin::Edge
void reserve ()
 
void unreserve ()
 
void unreserve (QObject *object)
 
void setBorder (ElectricBorder border)
 
void setAction (ElectricBorderAction action)
 
void setGeometry (const QRect &geometry)
 
void updateApproaching (const QPointF &point)
 
void checkBlocking ()
 
- Signals inherited from KWin::Edge
void approaching (ElectricBorder border, qreal factor, const QRect &geometry)
 
void activatesForTouchGestureChanged ()
 

Detailed Description

Definition at line 25 of file x11_standalone_edge.h.

Constructor & Destructor Documentation

◆ WindowBasedEdge()

KWin::WindowBasedEdge::WindowBasedEdge ( ScreenEdges * parent)
explicit

Definition at line 25 of file x11_standalone_edge.cpp.

◆ ~WindowBasedEdge()

KWin::WindowBasedEdge::~WindowBasedEdge ( )
override

Definition at line 32 of file x11_standalone_edge.cpp.

Member Function Documentation

◆ approachWindow()

quint32 KWin::WindowBasedEdge::approachWindow ( ) const
inlineoverridevirtual

The approach window is a special window to notice when get close to the screen border but not yet triggering the border.

Reimplemented from KWin::Edge.

Definition at line 60 of file x11_standalone_edge.h.

◆ doActivate()

void KWin::WindowBasedEdge::doActivate ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 36 of file x11_standalone_edge.cpp.

◆ doDeactivate()

void KWin::WindowBasedEdge::doDeactivate ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 43 of file x11_standalone_edge.cpp.

◆ doGeometryUpdate()

void KWin::WindowBasedEdge::doGeometryUpdate ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 85 of file x11_standalone_edge.cpp.

◆ doStartApproaching()

void KWin::WindowBasedEdge::doStartApproaching ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 93 of file x11_standalone_edge.cpp.

◆ doStopApproaching()

void KWin::WindowBasedEdge::doStopApproaching ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 104 of file x11_standalone_edge.cpp.

◆ doUpdateBlocking()

void KWin::WindowBasedEdge::doUpdateBlocking ( )
overrideprotectedvirtual

Reimplemented from KWin::Edge.

Definition at line 115 of file x11_standalone_edge.cpp.

◆ window()

quint32 KWin::WindowBasedEdge::window ( ) const
inlineoverridevirtual

The window id of the native window representing the edge. Default implementation returns 0, which means no window.

Reimplemented from KWin::Edge.

Definition at line 55 of file x11_standalone_edge.h.


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