Apologies for the thread necromancy, but since I don't see this discussed anywhere else: the code style options in Qt Creator (at least as of Qt Creator 2.4.1) don't offer any obvious way to place braces on the same line as the method signature ("K&R style") as the OP requested. They also don't offer options for the binding of asterisks and ampersands (const Foo& bar vs. const Foo &bar), use of NULL vs. 0, and a number of other things that I have to correct every time Creator makes a new class boilerplate. Am I missing something? If not, do you know if there are plans to expand these options in the future?
Bookmarks