| 頭: |
#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
()
銷毀事件分派程序。