QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Classes | Macros | Functions
qobjectuniqueptr.h File Reference
#include <QPointer>
#include <qtypeinfo.h>
Include dependency graph for qobjectuniqueptr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QObjectUniquePtr< T >
 Keeps a pointer to a QObject and deletes it whenever this object is deleted. More...
 

Macros

#define SIP_NO_FILE
 

Functions

template<class T >
bool operator!= (const QObjectUniquePtr< T > &p, const T *o)
 
template<class T >
bool operator!= (const QObjectUniquePtr< T > &p, T *o)
 
template<class T >
bool operator!= (const QObjectUniquePtr< T > &p1, const QObjectUniquePtr< T > &p2)
 
template<class T >
bool operator!= (const T *o, const QObjectUniquePtr< T > &p)
 
template<class T >
bool operator!= (T *o, const QObjectUniquePtr< T > &p)
 
template<class T >
bool operator== (const QObjectUniquePtr< T > &p, const T *o)
 
template<class T >
bool operator== (const QObjectUniquePtr< T > &p, T *o)
 
template<class T >
bool operator== (const QObjectUniquePtr< T > &p1, const QObjectUniquePtr< T > &p2)
 
template<class T >
bool operator== (const T *o, const QObjectUniquePtr< T > &p)
 
template<class T >
bool operator== (T *o, const QObjectUniquePtr< T > &p)
 
template<class T >
 Q_DECLARE_TYPEINFO_BODY (QObjectUniquePtr< T >, Q_MOVABLE_TYPE)
 
template<typename T >
QObjectUniquePtr< T > QObjectUniquePtrFromVariant (const QVariant &variant)
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 24 of file qobjectuniqueptr.h.

Function Documentation

◆ operator!=() [1/5]

template<class T >
bool operator!= ( const QObjectUniquePtr< T > &  p,
const T *  o 
)
inline

Definition at line 221 of file qobjectuniqueptr.h.

◆ operator!=() [2/5]

template<class T >
bool operator!= ( const QObjectUniquePtr< T > &  p,
T *  o 
)
inline

Definition at line 233 of file qobjectuniqueptr.h.

◆ operator!=() [3/5]

template<class T >
bool operator!= ( const QObjectUniquePtr< T > &  p1,
const QObjectUniquePtr< T > &  p2 
)
inline

Definition at line 239 of file qobjectuniqueptr.h.

◆ operator!=() [4/5]

template<class T >
bool operator!= ( const T *  o,
const QObjectUniquePtr< T > &  p 
)
inline

Definition at line 215 of file qobjectuniqueptr.h.

◆ operator!=() [5/5]

template<class T >
bool operator!= ( T *  o,
const QObjectUniquePtr< T > &  p 
)
inline

Definition at line 227 of file qobjectuniqueptr.h.

◆ operator==() [1/5]

template<class T >
bool operator== ( const QObjectUniquePtr< T > &  p,
const T *  o 
)
inline

Definition at line 191 of file qobjectuniqueptr.h.

◆ operator==() [2/5]

template<class T >
bool operator== ( const QObjectUniquePtr< T > &  p,
T *  o 
)
inline

Definition at line 203 of file qobjectuniqueptr.h.

◆ operator==() [3/5]

template<class T >
bool operator== ( const QObjectUniquePtr< T > &  p1,
const QObjectUniquePtr< T > &  p2 
)
inline

Definition at line 209 of file qobjectuniqueptr.h.

◆ operator==() [4/5]

template<class T >
bool operator== ( const T *  o,
const QObjectUniquePtr< T > &  p 
)
inline

Definition at line 185 of file qobjectuniqueptr.h.

◆ operator==() [5/5]

template<class T >
bool operator== ( T *  o,
const QObjectUniquePtr< T > &  p 
)
inline

Definition at line 197 of file qobjectuniqueptr.h.

◆ Q_DECLARE_TYPEINFO_BODY()

template<class T >
Q_DECLARE_TYPEINFO_BODY ( QObjectUniquePtr< T >  ,
Q_MOVABLE_TYPE   
)

◆ QObjectUniquePtrFromVariant()

template<typename T >
QObjectUniquePtr<T> QObjectUniquePtrFromVariant ( const QVariant &  variant)

Definition at line 246 of file qobjectuniqueptr.h.