forked from qt-creator/qt-creator
Doc: Describe C++ Options Getter and Setter tab
Add and update screenshots. Change-Id: Ie5cd6502d66217db488a5f16dbc6d2bd70906954 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
BIN
doc/images/qtcreator-code-style-getter-setter.png
Normal file
BIN
doc/images/qtcreator-code-style-getter-setter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 16 KiB |
@@ -1248,6 +1248,8 @@
|
|||||||
identifiers, type names, or left or right \c const or \c volatile
|
identifiers, type names, or left or right \c const or \c volatile
|
||||||
keywords.
|
keywords.
|
||||||
|
|
||||||
|
\li Name getter functions.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
You can use the live preview to see how the options change the indentation.
|
You can use the live preview to see how the options change the indentation.
|
||||||
@@ -1431,6 +1433,14 @@
|
|||||||
|
|
||||||
\image qtcreator-pointers-references.png "Pointers and References options"
|
\image qtcreator-pointers-references.png "Pointers and References options"
|
||||||
|
|
||||||
|
\section1 Naming Getters
|
||||||
|
|
||||||
|
To prefer getter names without the string \e get, select the
|
||||||
|
\uicontrol {Prefer getter names without "get"} check box in the
|
||||||
|
\uicontrol {Getter and Setter} tab.
|
||||||
|
|
||||||
|
\image qtcreator-code-style-getter-setter.png
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user