Skip to content
Lukáš Paukert edited this page Mar 15, 2020 · 4 revisions

QE code style

  1. Class names in CamelCase, starting with capital letter, example: SomeClass
  2. Class methods names in lowerCamelCase, starting with small letter, example: someFunction(int first_param)
  3. Class members names in m_camelCase, example: m_someMember
  4. Local variables and function parameters in snake_case – small letters with underscores, example int max_count
  5. File names in small letters, example: someclass.cpp
  6. Use TABS for indentation
  7. Rest is the same as Qt code style: https://wiki.qt.io/Qt_Coding_Style