naming convention for internal methods

Thiago Macieira thiago at kde.org
Sat Mar 17 10:03:32 GMT 2007


Thomas Zander wrote:
>Is there an idea to do the same for classes?
>I worked on kprinter the other day and noted that the class KPrinterImpl
> is exported while it surely is not something applications should use.
> The reason its exported is because subdirs like the cups and lpd
> printer inherit from the class.

If you can (and in this case you can), the simplest solution is to put the 
class in a header that isn't installed.

If the header isn't installed, other people can't use it.

-- 
  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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070317/c3bad113/attachment.sig>


More information about the kde-core-devel mailing list