[Uml-devel] Enforcing some style params (whitespace issue)

Gopala Krishna krishna.ggk at gmail.com
Mon Jun 30 07:22:35 UTC 2008


Hi,
  I really had a tough time trying to hook my class to umbrello as I
was trying to play with the deepest base classes - umlwidget.h and
others.
This is because there are lots of inconsistencies in whitespace usage.

So i have decided to fix them all with perl one liners.
The following will be followed ("ws" represents whitespace)

1) Convert "ws"->"ws"  to just ->

2) Ensure whitespace after every function/loop/ifconstruct and before
first opening parenthesis.

3) Ensure "no" whitespace after opening parenthesis or before closing
parenthesis.

4) Finally non whitespace issue. Even i will prefix "get" for my
methods in my new classes.  Actually i thought of replacing
"getSomething" with "something" through out umbrello code as this was
really matter of one liner in perl.
But then, this can be done later as well and i would like to respect
your opinion before doing that :-)

I might have done some other similar changes as above which i  might
have missed now. I hope these changes are acceptable (of course in
gsoc branch only as of now) :)

-- 
Cheers,
Gopala Krishna A




More information about the umbrello-devel mailing list