On Wed, Apr 25, 2007 at 10:20:55AM -0500, Bo Peng wrote: > >My rules are more or less: > > > >it should be Foo.h/Foo.cpp. > >it should be named Foo.h/Foo.cpp. > >it should be named Foo.h/Foo.cpp. > > > >Name clashes should be avoided. > > There is a problem with your approach, as in the case of src/box and > src/frontends/qt4/box.
I know. Although in theory it is not a problem if e.g. only src/ is in the include path and src/frontend stuff gets qualified by "frontend/" (which it is in a few cases already anyway) > I am not offended by QBox, although I dislike QL stuff. The QL stuff was introduced to avoid clashes with proper Qt Q classes. So this is a workaround for a problem that should not be there (stomping on other peoples namespace) from the beginning. Actually, a cleaner way would be 'QL' everwhere (but I don't like it). Andre'