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

#include <screenedge.h>

Public Types

using CallbackFunction = std::function<void(ElectricBorder border, const QPointF &, Output *output)>
 

Public Member Functions

 TouchCallback (QAction *touchUpAction, TouchCallback::CallbackFunction progressCallback)
 
 ~TouchCallback ()
 
QAction * touchUpAction () const
 
void progressCallback (ElectricBorder border, const QPointF &deltaProgress, Output *output) const
 
bool hasProgressCallback () const
 

Detailed Description

Definition at line 45 of file screenedge.h.

Member Typedef Documentation

◆ CallbackFunction

using KWin::TouchCallback::CallbackFunction = std::function<void(ElectricBorder border, const QPointF &, Output *output)>

Definition at line 48 of file screenedge.h.

Constructor & Destructor Documentation

◆ TouchCallback()

KWin::TouchCallback::TouchCallback ( QAction * touchUpAction,
TouchCallback::CallbackFunction progressCallback )
explicit

Definition at line 65 of file screenedge.cpp.

◆ ~TouchCallback()

KWin::TouchCallback::~TouchCallback ( )

Definition at line 71 of file screenedge.cpp.

Member Function Documentation

◆ hasProgressCallback()

bool KWin::TouchCallback::hasProgressCallback ( ) const

Definition at line 87 of file screenedge.cpp.

◆ progressCallback()

void KWin::TouchCallback::progressCallback ( ElectricBorder border,
const QPointF & deltaProgress,
Output * output ) const

Definition at line 80 of file screenedge.cpp.

◆ touchUpAction()

QAction * KWin::TouchCallback::touchUpAction ( ) const

Definition at line 75 of file screenedge.cpp.


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