mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
Updated Coding Style (markdown)
parent
31159ad39f
commit
836d089e35
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ The coding style of the project is based on the coding style of [QT](https://www
|
||||||
- [QT Coding Conventions](https://wiki.qt.io/Coding_Conventions)
|
- [QT Coding Conventions](https://wiki.qt.io/Coding_Conventions)
|
||||||
- [QT Coding Style](https://wiki.qt.io/Qt_Coding_Style)
|
- [QT Coding Style](https://wiki.qt.io/Qt_Coding_Style)
|
||||||
|
|
||||||
|
**Important:** Note that like the [KDE Frameworks Coding Style](https://community.kde.org/Policies/Frameworks_Coding_Style) we have one exception on top of the Qt one: we use curly braces even when the body of a conditional statement contains only one line.
|
||||||
|
|
||||||
## Variable names
|
## Variable names
|
||||||
|
|
||||||
Member variables should be prefixed with a underscore. For example write `_myClassVariable` instead of `myClassVariable`.
|
Member variables should be prefixed with a underscore. For example write `_myClassVariable` instead of `myClassVariable`.
|
||||||
|
|
Loading…
Reference in a new issue