kstaticdeleter.h
Static deleters are used to manage static resources.
Definition: kstaticdeleter.h:39
Little helper class to clean up static objects that are held as pointer.
Definition: kstaticdeleter.h:74
type * setObject(type *&globalRef, type *obj, bool isArray=false)
Sets the object to delete and registers the object to be deleted to TDEGlobal.
Definition: kstaticdeleter.h:104
TDE_DEPRECATED type * setObject(type *obj, bool isArray=false)
Sets the object to delete and registers the object to be deleted to TDEGlobal.
Definition: kstaticdeleter.h:85
static void unregisterStaticDeleter(KStaticDeleterBase *d)
Unregisters a static deleter.
Definition: tdeglobal.cpp:198
static void registerStaticDeleter(KStaticDeleterBase *d)
Registers a static deleter.
Definition: tdeglobal.cpp:189