smallest readable font

Thiago Macieira thiago at kde.org
Fri Jul 27 15:19:25 BST 2007


Boudewijn Rempt wrote:
>> Since we're on the subject, can we remove all of those exported
>> variables?
>>
>> Just remove them from the installed .h file.
>
>How does that work? If I remove declaration of the static variables from
> the class definition to somewhere else I get errors like "static’ may
> not be used when defining (as opposed to declaring) a static data
> member", and if I just remove the declarations then obviously the
> variables are not declared.

Those will cease to be member variables.

Just declare them file-static in one .cpp.
-- 
  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/20070727/ad09a6e2/attachment.sig>


More information about the kde-core-devel mailing list