Doc: Settings for binding pointers and references
Update screen shots. Change-Id: I0205792498150b2aabd11e12ee65e03fff3bf577 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 83 KiB |
BIN
doc/images/qtcreator-pointers-references.png
Normal file
After Width: | Height: | Size: 43 KiB |
@@ -1093,6 +1093,10 @@
|
||||
|
||||
\li Align continuation lines.
|
||||
|
||||
\li Bind pointers (*) and references (&) in types and declarations to
|
||||
identifiers, type names, or left or right \c const or \c volatile
|
||||
keywords.
|
||||
|
||||
\endlist
|
||||
|
||||
You can use the live preview to see how the options change the indentation.
|
||||
@@ -1233,6 +1237,17 @@
|
||||
|
||||
\image qtcreator-code-style-alignment.png "Alignment options"
|
||||
|
||||
\section1 Binding Pointers and References
|
||||
|
||||
To bind pointers (*) and references (&) in types and declarations to
|
||||
identifiers, type names, or left or right \c const or \c volatile keywords,
|
||||
select the check boxes in the \gui {Pointers and References} tab.
|
||||
|
||||
The * and & characters are automatically bound to identifiers of pointers to
|
||||
functions and pointers to arrays.
|
||||
|
||||
\image qtcreator-pointers-references.png "Pointers and References options"
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|