上下文命令

The context commands provide information about the element being documented that QDoc can't deduce on its own. For example:

  • Is this class thread-safe?
  • Is this function reentrant?
  • Of which module is this class a member?
  • Which include statement is needed to use this class?

Context commands can appear anywhere in a QDoc comment, but they are normally placed near the top of the comment, just below the topic 命令。

话题命令 文档导航