![]() |
Qt 6.x
The Qt SDK
|
Classes | |
| struct | CustomDeleter |
| struct | CustomDeleter< T, NormalDeleter > |
| class | ExternalRefCount |
| struct | ExternalRefCountData |
| struct | ExternalRefCountWithContiguousData |
| struct | ExternalRefCountWithCustomDeleter |
| struct | NormalDeleter |
| struct | RemovePointer |
| struct | RemovePointer< QSharedPointer< T > > |
| struct | RemovePointer< QWeakPointer< T > > |
| struct | RemovePointer< T * > |
Functions | |
| Q_AUTOTEST_EXPORT void | internalSafetyCheckCleanCheck () |
| template<class X , class Y > | |
| QSharedPointer< X > | copyAndSetPointer (X *ptr, const QSharedPointer< Y > &src) |
| Q_CORE_EXPORT void | internalSafetyCheckAdd (const void *, const volatile void *) |
| Q_CORE_EXPORT void | internalSafetyCheckRemove (const void *) |
| template<class T , typename Klass , typename RetVal > | |
| void | executeDeleter (T *t, RetVal(Klass::*memberDeleter)()) |
| template<class T , typename Deleter > | |
| void | executeDeleter (T *t, Deleter d) |
| Q_CORE_EXPORT QWeakPointer< QObject > | weakPointerFromVariant_internal (const QVariant &variant) |
| Q_CORE_EXPORT QSharedPointer< QObject > | sharedPointerFromVariant_internal (const QVariant &variant) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | copyAndSetPointer (X *ptr, const QSharedPointer< T > &src) |
| Q_INLINE_TEMPLATE QSharedPointer< X > QtSharedPointer::copyAndSetPointer | ( | X * | ptr, |
| const QSharedPointer< T > & | src | ||
| ) |
Definition at line 813 of file qsharedpointer_impl.h.
References ptr().
Here is the call graph for this function:| QSharedPointer< X > QtSharedPointer::copyAndSetPointer | ( | X * | ptr, |
| const QSharedPointer< Y > & | src | ||
| ) |
Referenced by qSharedPointerCast(), qSharedPointerConstCast(), qSharedPointerDynamicCast(), and qSharedPointerObjectCast().
Here is the caller graph for this function:
|
inline |
Definition at line 78 of file qsharedpointer_impl.h.
References d.
|
inline |
Definition at line 75 of file qsharedpointer_impl.h.
Referenced by QtSharedPointer::CustomDeleter< T, Deleter >::execute().
Here is the caller graph for this function:Definition at line 1574 of file qsharedpointer.cpp.
References Data, lock, ptr(), Q_ASSERT, Q_UNLIKELY, and qFatal.
Here is the call graph for this function:| void QtSharedPointer::internalSafetyCheckCleanCheck | ( | ) |
Called by the QSharedPointer autotest
Definition at line 1644 of file qsharedpointer.cpp.
References Q_ASSERT_X, Q_UNLIKELY, and qFatal.
Definition at line 1614 of file qsharedpointer.cpp.
References QSet< T >::cend(), QSet< T >::constFind(), it, lock, Q_ASSERT, Q_UNLIKELY, and qFatal.
Referenced by QtSharedPointer::ExternalRefCountWithCustomDeleter< T, Deleter >::safetyCheckDeleter(), and QtSharedPointer::ExternalRefCountWithContiguousData< T >::safetyCheckDeleter().
Here is the call graph for this function:
Here is the caller graph for this function:| QSharedPointer< QObject > QtSharedPointer::sharedPointerFromVariant_internal | ( | const QVariant & | variant | ) |
Returns a QSharedPointer<QObject> if the variant contains a QSharedPointer<T> where T inherits QObject. Otherwise the behaviour is undefined.
Definition at line 1438 of file qsharedpointer.cpp.
References QVariant::constData(), QMetaType::flags(), QVariant::metaType(), Q_ASSERT, QMetaType::SharedPointerToQObject, and variant.
Referenced by qSharedPointerFromVariant().
Here is the call graph for this function:
Here is the caller graph for this function:| QWeakPointer< QObject > QtSharedPointer::weakPointerFromVariant_internal | ( | const QVariant & | variant | ) |
Returns a QWeakPointer<QObject> if the variant contains a QWeakPointer<T> where T inherits QObject. Otherwise the behaviour is undefined.
Definition at line 1449 of file qsharedpointer.cpp.
References QVariant::constData(), QMetaType::flags(), QVariant::metaType(), Q_ASSERT, QMetaType::TrackingPointerToQObject, variant, and QMetaType::WeakPointerToQObject.
Referenced by qPointerFromVariant(), and qWeakPointerFromVariant().
Here is the call graph for this function:
Here is the caller graph for this function: