Stellarium  0.18.3
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. More...

#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)
 

Detailed Description

template<class T>
class QSharedPointerNoDelete< T >