[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: What happened to KStaticDeleter
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-09-30 4:41:11
Message-ID: 200709300641.12270.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


koos vriezen wrote:
>Hi,
>
>For a kpart I use KStaticDeleter in kde3. This seems to be gone in
>kde4, no info about this on techbase or porting guide. Googling gives
>some pointers to Q_GLOBAL_STATIC, but that doesn't seem to delete it
>on part onload.
>Is that correct and how to port this? Btw, its only about resetting a
>shared object after all part instances are unloaded.

K_GLOBAL_STATIC is what you want.

It's deleted on unload (= application exit, since we don't unload 
modules).

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

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic