DRAFT document on coding conventions in kde libraries

Thiago Macieira thiago at kde.org
Mon Mar 6 09:41:30 GMT 2006

Friedrich W. H. Kossebau wrote:
>Could perhaps someone from Trolltech enlighten us why they choose only
> to use slotX with private slots? After all we do almost adore the rest
> of their api style so they could have a good reason here as well :P

Adding more to this discussion:

With the QtDBus implementation I'm working on, all externally accessible 
functions are slots and they are translated to DBus "method". Since we 
don't want people to write things like today:

	dcop kontact MainApplication-Interface slotQuit

I oppose making all slots prefixed with 'slot' for the future too.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde 
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060306/36bb0223/attachment.sig>

More information about the kde-core-devel mailing list