QNativeInterface::QX11Application Struct
Interface nativa para um aplicativo X11. Mais...
| Cabeçalho: | #include <QGuiApplication> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Desde: | Qt 6.2 |
- Lista de todos os membros, incluindo os herdados
- QX11Application faz parte das Interfaces Nativas.
Funções públicas
| 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 &) |
Descrição detalhada
Acessado por meio de ` QGuiApplication::nativeInterface()`.
Documentação da função de membro
[constexpr noexcept default] QX11Application::QX11Application()
Constrói, por padrão, uma instância de ` QX11Application`.
[delete] QX11Application::QX11Application(const QNativeInterface::QX11Application &)
Cria uma instância de ` QX11Application` por meio da função `copy`. Essa função foi excluída.
[delete] QX11Application::QX11Application(QNativeInterface::QX11Application &&)
Cria uma instância de ` QX11Application` por meio da função `move`. Essa função foi excluída.
int *QX11Application::connection() const
Retorna a conexão X do aplicativo, para uso com o XCB.
Veja também ` display()`.
int *QX11Application::display() const
Retorna a tela X do aplicativo, para uso com a Xlib.
Veja também connection().
[delete] QNativeInterface::QX11Application &QX11Application::operator=(QNativeInterface::QX11Application &&)
A função “Move-assigns” atribui “ other ” a esta instância de “ QX11Application ”. Essa função é excluída.
[delete] QNativeInterface::QX11Application &QX11Application::operator=(const QNativeInterface::QX11Application &)
Copia e atribui ` other ` a esta instância de ` QX11Application `. Esta função é excluída.
© 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.