QtTaskTree::Then Class
class QtTaskTree::Then条件式で使われる "then "要素。詳細...
| ヘッダ | #include <qconditional.h> |
| CMakeの | find_package(Qt6 REQUIRED COMPONENTS TaskTree)target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| 以来: | Qt 6.11 |
注意:このクラスの関数はすべてリエントラントです。
パブリック関数
| Then(const QtTaskTree::GroupItems &children) | |
| Then(std::initializer_list<QtTaskTree::GroupItem> children) |
メンバ関数ドキュメント
[explicit] Then::Then(const QtTaskTree::GroupItems &children)
条件式で使用する、children 項目からなる分岐ボディ要素を作成します。先行するIf またはElseIf 要素が成功で終了した場合、実行中のQTaskTree はchildren を実行し、この実行結果が条件式全体の最終結果となる。
[explicit] Then::Then(std::initializer_list<QtTaskTree::GroupItem> children)
children で与えられたstd::initializer_list から分岐ボディ要素を構築する。
これはオーバーロードされた関数です。
© 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.