Updated Coding Style (markdown)

Kevin Ottens 2021-01-14 19:05:42 +01:00
parent 31159ad39f
commit 836d089e35

@ -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`.