Public Methods
Can be used to control the lifetime of an object that has derived
KShared. As long a someone holds a KSharedPtr on some KShared
object it won't become deleted but is deleted once its reference
count is 0. This struct emulates C++ pointers perfectly. So just
use it like a simple C++ pointer.
KShared and KSharedPtr are preferred over QShared / QSharedPtr
since they are more safe.
[const]
[const]
| bool operator== ( const T* p )
|
[const]
| bool operator!= ( const T* p )
|
[const]
[const]
[const]
[const]
[const]
[const]
[const]
- Version: $Id: ksharedptr.h,v 1.17 2001/01/02 14:18:21 hausmann Exp $
- Author: Waldo Bastian <bastian@kde.org>
- Generated: masato@ss10 on Wed Apr 11 11:50:47 2001, using kdoc 2.0a48.