QAbstractEventDispatcherV2 Class
| En-tête : | #include <QAbstractEventDispatcherV2> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Core)target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake : | QT += core |
| Héritages : | QAbstractEventDispatcher |
Fonctions publiques
| QAbstractEventDispatcherV2(QObject *parent = nullptr) | |
| virtual | ~QAbstractEventDispatcherV2() override |
Description détaillée
Cette classe est un hack temporaire pour permettre la transition vers une API basée sur std::chrono pour le distributeur d'événements de Qt. Dans Qt 7, elle sera fusionnée avec QAbstractEventDispatcher, remplaçant les virtuals purs par ceux définis ici.
Il est recommandé aux applications et aux bibliothèques d'effectuer un portage vers la nouvelle API avant cette future version afin de simplifier le travail le moment venu.
Documentation des fonctions membres
[explicit] QAbstractEventDispatcherV2::QAbstractEventDispatcherV2(QObject *parent = nullptr)
Construit un nouveau distributeur d'événements avec l'adresse parent.
[override virtual noexcept] QAbstractEventDispatcherV2::~QAbstractEventDispatcherV2()
Détruit le distributeur d'événements.
© 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.