QtTaskTree::ElseIf Class
class QtTaskTree::ElseIf조건 표현식에 사용되는 "else if" 요소입니다. 더 보기...
| 헤더: | #include <qconditional.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree)target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| 이후: | Qt 6.11 |
참고: 이 클래스의 모든 함수는 재진입됩니다.
공용 함수
상세 설명
조건 표현식의 대체 조건 요소입니다. 항상 Then 요소가 앞뒤에 와야 합니다.
멤버 함수 문서
[explicit] ElseIf::ElseIf(const QtTaskTree::ExecutableItem &condition)
조건 표현식에 사용할 condition 작업으로 대체 조건 요소를 만듭니다.
If도 참조하세요 .
[explicit] template <typename Handler, std::enable_if_t<!std::is_base_of_v<ExecutableItem, std::decay_t<Handler>>, bool> = true> ElseIf::ElseIf(Handler &&handler)
실행 중인 QTaskTree 에서 초기 조건을 평가할 때 실행할 동기식 handler 을 수락하는 도우미 생성자.
에 대한 바로 가기입니다:
ElseIf (QSyncTask(handler))허용되는 핸들러 유형에 대한 자세한 내용은 QSyncTask 을 참조하세요.
이 함수는 오버로드된 함수입니다.
© 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.