DRAFT document on coding conventions in kde libraries

André Wöbbeking Woebbeking at onlinehome.de
Sun Mar 5 21:45:19 GMT 2006


On Sunday 05 March 2006 20:08, Cornelius Schumacher wrote:
> On Sunday 05 March 2006 14:27, Olivier Goffart wrote:
> > Do you like the idea ?
>
> If you document existing conventions, but don't create new ones, I
> like the idea.
>
> I object to the "there shouldn't be private members in a class" and
> the "private slots should start with 'slot'" rules. There are no
> clear reasons for them. This is mainly a matter of taste, so I don't
> think it's a good idea to elevate them to conventions.

When you already have a private class why would you also want to have 
other private members? And as Harald and Lars pointed out (from there 
experience with Qt) some time ago all public classes in libs should 
have a private class.




More information about the kde-core-devel mailing list