summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodeparser.h
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2013-07-31 18:43:42 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-02 13:35:37 +0200
commite4f99e0285cca44e72004f01f57670d0e81e7679 (patch)
treea1caaf219f35e8e12fb357c4a3ac7b5fb3eed529 /src/tools/qdoc/cppcodeparser.h
parent0ace3112137b78cf7d150e9974e69ccfe6838533 (diff)
Doc: Added \qtvariable command to QDoc.
Specifies the QT variable needed in the .pro file. The argument of the command is the qmake QT variable. To use, add "\qtvariable <value>" to a QDoc comment which contains the \module command. QDoc will then associate the class with the QT variable. Only supported for C++ classes at the moment. Part of work done for QTBUG-32172 Task-number: QTBUG-32172 Change-Id: Ia8eea30fcfc771191c23a5f5994a48732959ea49 Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.h')
-rw-r--r--src/tools/qdoc/cppcodeparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/cppcodeparser.h b/src/tools/qdoc/cppcodeparser.h
index d23cc25d33..5ab72f7f54 100644
--- a/src/tools/qdoc/cppcodeparser.h
+++ b/src/tools/qdoc/cppcodeparser.h
@@ -241,6 +241,7 @@ protected:
#define COMMAND_LICENSENAME Doc::alias("licensename")
#define COMMAND_LICENSEDESCRIPTION Doc::alias("licensedescription")
#define COMMAND_RELEASEDATE Doc::alias("releasedate")
+#define COMMAND_QTVARIABLE Doc::alias("qtvariable")
QT_END_NAMESPACE