Comandos de contexto
Los comandos de contexto proporcionan información sobre el elemento que se está documentando que QDoc no puede deducir por sí mismo. Por ejemplo:
- ¿Es esta clase thread-safe?
- ¿Es esta función reentrante?
- ¿De qué módulo es miembro esta clase?
- ¿Qué sentencia include se necesita para usar esta clase?
Los comandos de contexto pueden aparecer en cualquier parte de un comentario QDoc, pero normalmente se colocan cerca de la parte superior del comentario, justo debajo del comando de tema.
- \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.