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

#include <xdgactivation_v1.h>

Inheritance diagram for KWin::XdgActivationV1Interface:

Public Types

using CreatorFunction = std::function<QString(ClientConnection *client, SurfaceInterface *surface, uint serial, SeatInterface *seat, const QString &appId)>
 

Signals

void activateRequested (SurfaceInterface *surface, const QString &token)
 Notifies about the surface being activated using token.
 

Public Member Functions

 XdgActivationV1Interface (Display *display, QObject *parent=nullptr)
 
 ~XdgActivationV1Interface () override
 
void setActivationTokenCreator (const CreatorFunction &creator)
 Provide the creator function that will be used to create a token given its parameters.
 

Friends

class XdgActivationV1InterfacePrivate
 

Detailed Description

Definition at line 28 of file xdgactivation_v1.h.

Member Typedef Documentation

◆ CreatorFunction

using KWin::XdgActivationV1Interface::CreatorFunction = std::function<QString(ClientConnection *client, SurfaceInterface *surface, uint serial, SeatInterface *seat, const QString &appId)>

Definition at line 36 of file xdgactivation_v1.h.

Constructor & Destructor Documentation

◆ XdgActivationV1Interface()

KWin::XdgActivationV1Interface::XdgActivationV1Interface ( Display * display,
QObject * parent = nullptr )
explicit

Definition at line 124 of file xdgactivation_v1.cpp.

◆ ~XdgActivationV1Interface()

KWin::XdgActivationV1Interface::~XdgActivationV1Interface ( )
override

Definition at line 130 of file xdgactivation_v1.cpp.

Member Function Documentation

◆ activateRequested

void KWin::XdgActivationV1Interface::activateRequested ( SurfaceInterface * surface,
const QString & token )
signal

Notifies about the surface being activated using token.

◆ setActivationTokenCreator()

void KWin::XdgActivationV1Interface::setActivationTokenCreator ( const CreatorFunction & creator)

Provide the creator function that will be used to create a token given its parameters.

Definition at line 134 of file xdgactivation_v1.cpp.

Friends And Related Symbol Documentation

◆ XdgActivationV1InterfacePrivate

friend class XdgActivationV1InterfacePrivate
friend

Definition at line 46 of file xdgactivation_v1.h.


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