QAbstractEventDispatcherV2 Class
| Cabecera: | #include <QAbstractEventDispatcherV2> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core)target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| Hereda: | QAbstractEventDispatcher |
Funciones Públicas
| QAbstractEventDispatcherV2(QObject *parent = nullptr) | |
| virtual | ~QAbstractEventDispatcherV2() override |
Descripción detallada
Esta clase es un hack temporal para permitir la transición a una API basada en std::chrono para el despachador de eventos Qt. En Qt 7, se fusionará con QAbstractEventDispatcher, sustituyendo los virtuales puros por los definidos aquí.
Se recomienda que las aplicaciones y bibliotecas se adapten a la nueva API antes de esa futura versión para simplificar el trabajo cuando llegue el momento.
Documentación de las funciones miembro
[explicit] QAbstractEventDispatcherV2::QAbstractEventDispatcherV2(QObject *parent = nullptr)
Construye un nuevo despachador de eventos con la dirección parent.
[override virtual noexcept] QAbstractEventDispatcherV2::~QAbstractEventDispatcherV2()
Destruye el despachador de eventos.
© 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.