QAbstractEventDispatcherV2 Class

헤더: #include <QAbstractEventDispatcherV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
상속합니다: QAbstractEventDispatcher

공용 함수

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

자세한 설명

이 클래스는 Qt 이벤트 디스패처에 대해 std::chrono 에 기반한 API 로의 전환을 가능하게 하는 임시 해킹입니다. Qt 7에서는 QAbstractEventDispatcher 와 병합되어 그곳의 순수 가상이 여기에 정의된 가상으로 대체됩니다.

향후 릴리스 전에 애플리케이션과 라이브러리를 새 API로 포팅하여 작업을 간소화할 것을 권장합니다.

멤버 함수 문서

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

주어진 parent 으로 새 이벤트 디스패처를 생성합니다.

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

이벤트 디스패처를 파괴합니다.

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