summaryrefslogtreecommitdiffstats
path: root/doc/faq.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/faq.doc')
-rw-r--r--doc/faq.doc19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/faq.doc b/doc/faq.doc
index 3d936fe..123671f 100644
--- a/doc/faq.doc
+++ b/doc/faq.doc
@@ -56,6 +56,25 @@ as <code>PREPROCESSING = YES</code>.
Look at section \ref preprocessing for the answer.
+<li><b>How can I change what's after the <code>#include</code> in class documentation?</b>
+
+You can document your class like
+
+\verbatim
+/*! \class MyClassName include.h path/include.h
+ *
+ * Docs for MyClassName
+ */
+\endverbatim
+
+To make doxygen put <br><br>
+<code>
+#include <path/include.h>
+</code>
+
+in the documentation of the class MyClassName regardless of the name of the actual
+header file in which the definition of MyClassName is contained.
+
</ol>
*/