Sur cette page

QNativeInterface::QX11Application Struct

Interface native vers une application X11. En savoir plus...

En-tête : #include <QGuiApplication>
CMake : find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake : QT += gui
Depuis : Qt 6.2

Fonctions publiques

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 &)

Description détaillée

Accessible via la méthode ` QGuiApplication::nativeInterface()`.

Documentation sur les fonctions membres

[constexpr noexcept default] QX11Application::QX11Application()

Construit par défaut une instance de ` QX11Application`.

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

Copie et construit une instance de ` QX11Application`. Cette fonction est supprimée.

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

Crée par « move » une instance de ` QX11Application`. Cette fonction est supprimée.

int *QX11Application::connection() const

Renvoie la connexion X de l'application, à utiliser avec XCB.

Voir également display().

int *QX11Application::display() const

Renvoie l'affichage X de l'application, à utiliser avec Xlib.

Voir aussi ` connection()`.

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

La commande « Move » affecte l'other à cette instance QX11Application. Cette fonction est supprimée.

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

Copie et attribue ` other ` à cette instance de ` QX11Application `. Cette fonction est supprimée.

© 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.