-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #472 from aol-nnov/define-codestyle
Define codestyle
- Loading branch information
Showing
285 changed files
with
19,083 additions
and
17,838 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
BasedOnStyle: WebKit | ||
Language: Cpp | ||
AlignAfterOpenBracket: Align | ||
AllowShortEnumsOnASingleLine: false | ||
BreakInheritanceList: AfterColon | ||
BreakConstructorInitializers: AfterColon | ||
SpaceBeforeCtorInitializerColon: false | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
AllowAllConstructorInitializersOnNextLine: false | ||
SpaceBeforeInheritanceColon: false | ||
PointerAlignment: Left | ||
ReflowComments: true | ||
FixNamespaceComments: true | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
IncludeBlocks: Regroup | ||
# regular expressions are matched against the filename of an include (including the <> or “”) in order: | ||
# topmost: main header file (the one that has the same name as .cpp-file) and ui_XXX.h, if exists | ||
# second group: local header files (i.e. "something.h") | ||
# third group: external header files (i.e. <smth/other.h>) | ||
# fourth group: Qt toolkit headers (actually, anything that starts with a 'Q') | ||
# last group: all other external header files | ||
# headers in all groups are sorted by name | ||
IncludeCategories: | ||
- Regex: '"ui_.*' | ||
Priority: 0 | ||
- Regex: '^".*' | ||
Priority: 1 | ||
- Regex: '^<Qt.*' | ||
Priority: 3 | ||
- Regex: '^<.*/.*\.h>' | ||
Priority: 2 | ||
- Regex: '^<Q.*' | ||
Priority: 3 | ||
- Regex: '^<.*' | ||
Priority: 4 | ||
ColumnLimit: 100 | ||
TabWidth: 4 | ||
UseTab: Never | ||
MaxEmptyLinesToKeep: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.