André >> So that means that our C++ code should look like this then? >> if (blah || boo || foo) { //no line breaking allowed
Martin > In that case, yes, because the entire expression is short. And the > ctor example that was used originally would also be on one line. Why > not? Does the Qt coding standard require each expression to be on a > separate line? I thought they should be on separate lines when the > list is too long to be on a single line. Please allow that, in giving illustrations, short texts may be used as surrogates for tacitly long ones, so that if (blah || boo || foo) { some.code(); } is tacitly standing for if (somee.really(long.and.complicated, expression) || another.such(that, makes, the.line.too.long) || and.then.some.more()) { some.code(); } in examples - it gets boring to write the examples out in full like that and I would hope everyone is capable of interpolating the big long ugly expressions for which short tokens are used in illustrations. Eddy. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development