bring speed back into KConfig

Thiago Macieira thiago at kde.org
Tue Apr 22 00:44:39 BST 2008


Jakub Stachowski wrote:
>BufferFragment class contains very short functions (most of them 1-3
> lines) that could be inlined, so all definitions are in header file. Is
> it OK or separate .cpp file is necessary?

All .h should be fine. But you shouldn't name a class BufferFragment. You 
have to name classes starting with a K to avoid polluting the global 
namespace.

(The fact that it's not exported notwithstanding. Not all compilers 
support that feature)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080421/bee5670e/attachment.sig>


More information about the kde-core-devel mailing list