Auf dieser Seite

QNativeInterface::QX11Application Struct

Native Schnittstelle zu einer X11-Anwendung. Mehr...

Kopfzeile: #include <QGuiApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Seit: Qt 6.2

Öffentliche Funktionen

QX11Application()
QX11Application(const QNativeInterface::QX11Application &)
QX11Application(QNativeInterface::QX11Application &&)
int *connection() const
int *display() const
QNativeInterface::QX11Application &operator=(QNativeInterface::QX11Application &&)
QNativeInterface::QX11Application &operator=(const QNativeInterface::QX11Application &)

Ausführliche Beschreibung

Zugriff über ` QGuiApplication::nativeInterface()`.

Dokumentation der Mitgliedsfunktionen

[constexpr noexcept default] QX11Application::QX11Application()

Erstellt standardmäßig eine Instanz von „ QX11Application “.

[delete] QX11Application::QX11Application(const QNativeInterface::QX11Application &)

Erstellt eine Instanz von „ QX11Application “ durch Kopieren. Diese Funktion wurde gelöscht.

[delete] QX11Application::QX11Application(QNativeInterface::QX11Application &&)

Erstellt eine Instanz von ` QX11Application`. Diese Funktion ist gelöscht.

int *QX11Application::connection() const

Gibt die X-Verbindung der Anwendung zurück, zur Verwendung mit XCB.

Siehe auch „ display()“.

int *QX11Application::display() const

Gibt die X-Anzeige der Anwendung zurück, zur Verwendung mit Xlib.

Siehe auch connection().

[delete] QNativeInterface::QX11Application &QX11Application::operator=(QNativeInterface::QX11Application &&)

other Weist der Instanz „ QX11Application “ die Instanz „ “ zu. Diese Funktion wird gelöscht.

[delete] QNativeInterface::QX11Application &QX11Application::operator=(const QNativeInterface::QX11Application &)

other Weist dieser „ QX11Application “-Instanz „ “ per Kopierzuweisung zu. Diese Funktion wird gelöscht.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.