コンテキストコマンド
コンテキストコマンドは、QDocが独自に推測できない、ドキュメント化対象の要素に関する情報を提供します。例えば:
- このクラスはスレッドセーフですか?
- この関数は再入可能か?
- このクラスはどのモジュールのメンバーか?
- このクラスを使用するには、どのインクルード文が必要ですか?
コンテキストコマンドはQDocコメント内のどこにでも記述できますが、通常はコメントの先頭近く、トピックコマンドの直下に配置されます。
- \abstract
- \attribution
- \cmakecomponent
- \cmakepackage
- \cmaketargetitem
- \compares (QDoc 6.7 以降)
- \compareswith (QDoc 6.7 以降)
- \default
- \deprecated
- \ingroup
- \inheaderfile
- \inherits
- \inmodule
- \internal
- \modulestate (QDoc 6.5 以降)
- \nextpage
- \nonreentrant
- \overload
- \preliminary
- \previouspage
- \qmlabstract
- \qmldefault
- \qmlenumeratorsfrom (QDoc 6.8 以降)
- \qtcmakepackage
- \qtcmaketargetitem
- \readonly
- \reentrant
- \reimp
- \relates
- \required
- \since
- \startpage
- \subtitle
- \threadsafe
- \title
- \toc (QDoc 6.11 以降)
- \tocentry (QDoc 6.11 以降)
- \wrapper
© 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.