Consensus on the kdelibs coding style

Alexander Neundorf neundorf at kde.org
Sun Jul 6 09:53:10 BST 2008


On Sunday 06 July 2008, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >IMO here the problem is a missing recommendation:
> >always use the order public - protected - private (with a note about
> > signals an slots), and never to rely on the default protection in
> > classes.
>
> So I should always add "public:" to simple structs? No, thanks.

Please not the "classes" in the sentence above :-)

Alex





More information about the kde-core-devel mailing list