Can Q_GLOBAL_STATIC replace KStaticDelete ?

Thiago Macieira thiago at
Mon Jan 22 21:35:39 GMT 2007

Matthias Kretz wrote:
>+static bool _k_static_##NAME##_destroyed = false;

Don't initialise the variable. This saves us 4 bytes in the executable.

> +static bool NAME##_isDestroyed()

Add inline here, please.

Aside from those two minor things, it looks just fine.

  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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list