void QML Value Type
空の値型。詳細...
詳細な説明
void 型は、undefined を返すJavaScript関数の型注釈にのみ使用されます。例:
function doThings() : void { console.log("hello") }これは、ツールがそのような関数への呼び出しを解析し、それらとその呼び出し元をC++にコンパイルするのを支援するためのものです。
QML では、void プロパティを宣言することはできません。
「QML 値型」も参照してください 。
© 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.