-
Notifications
You must be signed in to change notification settings - Fork 41
Code style
Lukáš Paukert edited this page Mar 15, 2020
·
4 revisions
- Class names in
CamelCase
, starting with capital letter, example:SomeClass
- Class methods names in
lowerCamelCase
, starting with small letter, example:someFunction(int first_param)
- Class members names in m_camelCase, example:
m_someMember
- Local variables and function parameters in
snake_case
– small letters with underscores, exampleint max_count
- File names in small letters, example:
someclass.cpp
- Use TABS for indentation
- Rest is the same as Qt code style: https://wiki.qt.io/Qt_Coding_Style