Comandos de contexto
Los comandos de contexto proporcionan información sobre el elemento que se está documentando y que QDoc no puede deducir por sí mismo. Por ejemplo:
- ¿Es esta clase segura para subprocesos?
- ¿Es esta función reentrante?
- ¿De qué módulo forma parte esta clase?
- ¿Qué instrucción «include» se necesita para utilizar esta clase?
Los comandos de contexto pueden aparecer en cualquier parte de un comentario de QDoc, pero normalmente se sitúan cerca del principio del comentario, justo debajo del comando «topic ».
- \abstract
- \attribution
- \cmakecomponent
- \cmakepackage
- \cmaketargetitem
- \compares (Desde QDoc 6.7)
- \compareswith (Desde QDoc 6.7)
- \default
- \deprecated
- \ingroup
- \inheaderfile
- \inherits
- \inmodule
- \internal
- \modulestate (Desde QDoc 6.5)
- \nextpage
- \nonreentrant
- \overload
- \preliminary
- \previouspage
- \qmlabstract
- \qmldefault
- \qmlenumeratorsfrom (Desde QDoc 6.8)
- \qtcmakepackage
- \qtcmaketargetitem
- \readonly
- \reentrant
- \reimp
- \relates
- \required
- \since
- \startpage
- \subtitle
- \threadsafe
- \title
- \toc (Desde QDoc 6.11)
- \tocentry (Desde 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.