Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpointer.h File Reference

(890c270b9b27de5075bda668dbe8117649673b05)

#include <QtCore/qcompare.h>
#include <QtCore/qsharedpointer.h>
#include <QtCore/qtypeinfo.h>
+ Include dependency graph for qpointer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QPointer< T >
 

Functions

template<class T >
 Q_DECLARE_TYPEINFO_BODY (QPointer< T >, Q_RELOCATABLE_TYPE)
 
template<typename T >
QPointer< T > qPointerFromVariant (const QVariant &variant)
 

Function Documentation

◆ Q_DECLARE_TYPEINFO_BODY()

template<class T >
Q_DECLARE_TYPEINFO_BODY ( QPointer< T > ,
Q_RELOCATABLE_TYPE  )

◆ qPointerFromVariant()

template<typename T >
QPointer< T > qPointerFromVariant ( const QVariant & variant)

Definition at line 114 of file qpointer.h.

References QtPrivate::EnableInternalData::internalData(), variant, and QtSharedPointer::weakPointerFromVariant_internal().

+ Here is the call graph for this function: