Consensus on the kdelibs coding style

Thiago Macieira thiago at
Sun Jul 6 04:53:16 BST 2008

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.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list