Qt 4.8
Public Functions | Public Variables | List of all members
QGlobalStaticDeleter< T > Class Template Reference

#include <qglobal.h>

Public Functions

 QGlobalStaticDeleter (QGlobalStatic< T > &_globalStatic)
 
 ~QGlobalStaticDeleter ()
 

Public Variables

QGlobalStatic< T > & globalStatic
 

Detailed Description

template<typename T>
class QGlobalStaticDeleter< T >

Definition at line 1948 of file qglobal.h.

Constructors and Destructors

◆ QGlobalStaticDeleter()

template<typename T >
QGlobalStaticDeleter< T >::QGlobalStaticDeleter ( QGlobalStatic< T > &  _globalStatic)
inline

Definition at line 1952 of file qglobal.h.

1953  : globalStatic(_globalStatic)
1954  { }
QGlobalStatic< T > & globalStatic
Definition: qglobal.h:1951

◆ ~QGlobalStaticDeleter()

template<typename T >
QGlobalStaticDeleter< T >::~QGlobalStaticDeleter ( )
inline

Definition at line 1956 of file qglobal.h.

1957  {
1958  delete globalStatic.pointer;
1959  globalStatic.pointer = 0;
1960  globalStatic.destroyed = true;
1961  }
QGlobalStatic< T > & globalStatic
Definition: qglobal.h:1951

Properties

◆ globalStatic

template<typename T >
QGlobalStatic<T>& QGlobalStaticDeleter< T >::globalStatic

Definition at line 1951 of file qglobal.h.


The documentation for this class was generated from the following file: