| 头: |
#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 |
This class is a temporary hack to enable transition to an API based on
std::chrono
for the Qt event dispatcher. In Qt 7, it will be merged with
QAbstractEventDispatcher
, replacing the pure virtuals there with the ones defined here.
It is recommended applications and libraries port to the new API before that future release to simplify work when the time comes.
[explicit]
QAbstractEventDispatcherV2::
QAbstractEventDispatcherV2
(
QObject
*
parent
= nullptr)
构造新事件分派程序采用给定 parent .
[override virtual noexcept]
QAbstractEventDispatcherV2::
~QAbstractEventDispatcherV2
()
销毁事件分派程序。