In questa pagina

QAbstractEventDispatcherV2 Class

Intestazione: #include <QAbstractEventDispatcherV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Eredita da: QAbstractEventDispatcher

Funzioni pubbliche

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

Descrizione dettagliata

Questa classe è una soluzione temporanea per consentire la transizione verso un'API basata su std::chrono per il dispatcher di eventi di Qt. In Qt 7, verrà unita a QAbstractEventDispatcher, sostituendo le funzioni virtuali pure presenti in quest'ultima con quelle definite qui.

Si raccomanda alle applicazioni e alle librerie di effettuare il porting alla nuova API prima di quella futura versione, per semplificare il lavoro quando sarà il momento.

Documentazione delle funzioni membro

[explicit] QAbstractEventDispatcherV2::QAbstractEventDispatcherV2(QObject *parent = nullptr)

Crea un nuovo dispatcher di eventi con l'parent specificato.

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

Elimina il dispatcher degli eventi.

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