KWin
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
KWin::KillPrompt Class Reference

#include <killprompt.h>

Public Member Functions

 KillPrompt (Window *window)
 Creates a kill helper process.
 
bool isRunning () const
 Whether the kill helper process is currently running.
 
void start (quint32 timestamp=0)
 Starts the kill helper process.
 
void quit ()
 Terminate the kill helper process.
 

Detailed Description

Definition at line 16 of file killprompt.h.

Constructor & Destructor Documentation

◆ KillPrompt()

KWin::KillPrompt::KillPrompt ( Window * window)
explicit

Creates a kill helper process.

Parameters
windowThe window to kill, must be an X11Window or XdgToplevelWindow.

Definition at line 25 of file killprompt.cpp.

Member Function Documentation

◆ isRunning()

bool KWin::KillPrompt::isRunning ( ) const

Whether the kill helper process is currently running.

Definition at line 42 of file killprompt.cpp.

◆ quit()

void KWin::KillPrompt::quit ( )

Terminate the kill helper process.

Definition at line 102 of file killprompt.cpp.

◆ start()

void KWin::KillPrompt::start ( quint32 timestamp = 0)

Starts the kill helper process.

Parameters
timestampThe X activation timestamp.

Definition at line 47 of file killprompt.cpp.


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