Stellarium  0.22.2
Public Member Functions | Static Public Member Functions
QSharedPointerNoDelete< T > Class Template Reference

Special version of QSharedPointer which by default doesn't delete the referenced pointer when the reference count reaches 0.

#include <StelObjectType.hpp>

Public Member Functions

 QSharedPointerNoDelete (T *ptr)
 
 QSharedPointerNoDelete (T *ptr, bool own)
 
 QSharedPointerNoDelete (const QSharedPointer< T > &ptr)
 

Static Public Member Functions

static void noDelete (T *ptr)