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 に統合され、純粋な仮想関数はここで定義されたものに置き換えられます。

Qt 7では、このAPIは に統合され、純粋なvirtualsはここで定義されたものに置き換わります。将来のリリースの前に、アプリケーションやライブラリを新しい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.