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

#include <xwaylandlauncher.h>

Inheritance diagram for KWin::Xwl::XwaylandLauncher:

Signals

void started ()
 
void finished ()
 
void errorOccurred ()
 

Public Member Functions

 XwaylandLauncher (QObject *parent)
 
 ~XwaylandLauncher ()
 
void setListenFDs (const QList< int > &listenFds)
 
void setDisplayName (const QString &displayName)
 
void setXauthority (const QString &xauthority)
 
void enable ()
 
void disable ()
 
bool start ()
 
void stop ()
 
QString displayName () const
 
QString xauthority () const
 
int xcbConnectionFd () const
 
QProcess * process () const
 

Detailed Description

Definition at line 31 of file xwaylandlauncher.h.

Constructor & Destructor Documentation

◆ XwaylandLauncher()

KWin::Xwl::XwaylandLauncher::XwaylandLauncher ( QObject * parent)
explicit

Definition at line 45 of file xwaylandlauncher.cpp.

◆ ~XwaylandLauncher()

KWin::Xwl::XwaylandLauncher::~XwaylandLauncher ( )

Definition at line 53 of file xwaylandlauncher.cpp.

Member Function Documentation

◆ disable()

void KWin::Xwl::XwaylandLauncher::disable ( )

Definition at line 107 of file xwaylandlauncher.cpp.

◆ displayName()

QString KWin::Xwl::XwaylandLauncher::displayName ( ) const

Definition at line 214 of file xwaylandlauncher.cpp.

◆ enable()

void KWin::Xwl::XwaylandLauncher::enable ( )

Definition at line 72 of file xwaylandlauncher.cpp.

◆ errorOccurred

void KWin::Xwl::XwaylandLauncher::errorOccurred ( )
signal

This signal is emitted when an error occurs with the Xwayland server.

◆ finished

void KWin::Xwl::XwaylandLauncher::finished ( )
signal

This signal is emitted when the Xwayland server quits or crashes

◆ process()

QProcess * KWin::Xwl::XwaylandLauncher::process ( ) const

Definition at line 229 of file xwaylandlauncher.cpp.

◆ setDisplayName()

void KWin::Xwl::XwaylandLauncher::setDisplayName ( const QString & displayName)

Sets the display name used by XWayland (i.e ':0') This is to be used in conjuction with kwin_wayland_wrapper to provide the name of the socket created externally

Definition at line 62 of file xwaylandlauncher.cpp.

◆ setListenFDs()

void KWin::Xwl::XwaylandLauncher::setListenFDs ( const QList< int > & listenFds)

Set file descriptors that xwayland should use for listening This is to be used in conjuction with kwin_wayland_wrapper which creates a socket externally That external process is responsible for setting up the DISPLAY env with a valid value. Ownership of the file descriptor is not transferrred.

Definition at line 57 of file xwaylandlauncher.cpp.

◆ setXauthority()

void KWin::Xwl::XwaylandLauncher::setXauthority ( const QString & xauthority)

Sets the xauthority file to be used by XWayland This is to be used in conjuction with kwin_wayland_wrapper

Definition at line 67 of file xwaylandlauncher.cpp.

◆ start()

bool KWin::Xwl::XwaylandLauncher::start ( )

Definition at line 113 of file xwaylandlauncher.cpp.

◆ started

void KWin::Xwl::XwaylandLauncher::started ( )
signal

This signal is emitted when the Xwayland server has been started successfully and it is ready to accept and manage X11 clients. For restarts it may be emitted multiple times

◆ stop()

void KWin::Xwl::XwaylandLauncher::stop ( )

Definition at line 234 of file xwaylandlauncher.cpp.

◆ xauthority()

QString KWin::Xwl::XwaylandLauncher::xauthority ( ) const

Definition at line 219 of file xwaylandlauncher.cpp.

◆ xcbConnectionFd()

int KWin::Xwl::XwaylandLauncher::xcbConnectionFd ( ) const

Definition at line 224 of file xwaylandlauncher.cpp.


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