En esta página

QAbstractEventDispatcherV2 Class

Encabezado: #include <QAbstractEventDispatcherV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Heredado de: QAbstractEventDispatcher

Funciones públicas

QAbstractEventDispatcherV2(QObject *parent = nullptr)
virtual ~QAbstractEventDispatcherV2() override

Descripción detallada

Esta clase es una solución provisional para facilitar la transición a una API basada en std::chrono para el distribuidor de eventos de Qt. En Qt 7, se fusionará con QAbstractEventDispatcher, sustituyendo las funciones virtuales puras de allí por las definidas 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)

Crea un nuevo distribuidor de eventos con el ` parent` indicado.

[override virtual noexcept] QAbstractEventDispatcherV2::~QAbstractEventDispatcherV2()

Elimina el distribuidor 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.