QX11Application Struct

struct QNativeInterface::QX11Application

Native interface to an X11 application. More...

Header: #include <QGuiApplication>

Public Functions

int *connection() const
int *display() const

Detailed Description

\since6.2

Accessed through QGuiApplication::nativeInterface().

\inmoduleQtGui \ingroup native-interfaces \ingroup native-interfaces-qguiapplication

Member Function Documentation

int *QX11Application::connection() const

Returns the X connection of the application, for use with XCB.

See also display().

int *QX11Application::display() const

Returns the X display of the application, for use with Xlib.

See also connection().