コンテキストコマンド
コンテキスト・コマンドはドキュメント化される要素について、QDocだけでは推測できない情報を提供します。例えば
- このクラスはスレッドセーフか?
- この関数はリエントラントか?
- このクラスはどのモジュールのメンバーですか?
- このクラスを使うにはどのinclude文が必要か?
コンテキスト・コマンドはQDocコメントのどこにでも書くことができますが、通常はコメントの一番上、トピック・コマンドのすぐ下に置かれます。
- \abstract
- \attribution
- \cmakecomponent
- \cmakepackage
- \cmaketargetitem
- \compares(QDoc 6.7以降)
- \compareswith(QDoc6.7から)
- \default
- \deprecated
- \ingroup
- \inheaderfile
- \inherits
- \inmodule
- \internal
- \modulestate(QDoc6.5から)
- \nextpage
- \nonreentrant
- \overload
- \preliminary
- \previouspage
- \qmlabstract
- \qmldefault
\qmlenumeratorsfrom(QDoc6.8以降)- \qtcmakepackage
- \qtcmaketargetitem
- \readonly
- \reentrant
- \reimp
- \relates
- \required
- \since
- \startpage
- \subtitle
- \threadsafe
- \title
- \toc(QDoc6.11以降)
- \tocentry(QDoc6.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.