Add documentation for C++-license headers.

Task-number: QTCREATORBUG-1854
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
Friedemann Kleint
2010-08-17 17:10:52 +02:00
parent 4eb40af9a8
commit cbc1fb3cd3

View File

@@ -6697,6 +6697,22 @@
For more information, see \l{Creating Locator Filters}. For more information, see \l{Creating Locator Filters}.
\section1 Adding a License Header Template for C++ Code
A file containing a license header for C++ can be specified under
\gui{Tools > Options... > C++ > License Template}. It may contain special
placeholders enclosed in \c{%%} that are replaced when generating a
new file:
\list 1
\o \c %YEAR%: Year
\o \c %DATE%: Date
\o \c %USER%: User name
\o \c %FILENAME%: File name
\o \c %CLASS%: Class name (if applicable)
\o \c %$VARIABLE%: Contents of environment variable \c{VARIABLE}.
\endlist
*/ */