mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Updated Coding Style (markdown)
parent
d5e3661eb9
commit
86e2ce0684
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ The coding style of the project is based on the coding style of [Qt](https://www
|
|||
|
||||
Member variables should be prefixed with a underscore. For example write `_myClassVariable` instead of `myClassVariable`.
|
||||
|
||||
## Header files
|
||||
|
||||
Every header file should contain a copyright note and `#pragma once` should preferred instead of `#ifndef` header guards.
|
||||
|
||||
## STL
|
||||
|
||||
When possible use data structures from Qt. For example use `QVector` instead of `std::vector`.
|
||||
|
|
Loading…
Reference in a new issue