Classes | |
| class | QWeakPointer< T > |
| class | QSharedPointer< T > |
| class | InternalRefCount< T > |
| class | ExternalRefCount< T > |
| struct | RemovePointer< T > |
| struct | RemovePointer< T * > |
| struct | RemovePointer< QSharedPointer< T > > |
| struct | RemovePointer< QWeakPointer< T > > |
| class | Basic< T > |
| struct | ExternalRefCountData |
| struct | ExternalRefCountWithDestroyFn |
| struct | ExternalRefCountWithCustomDeleter< T, Deleter > |
| struct | ExternalRefCountWithCustomDeleter< T, Deleter >::CustomDeleter |
| struct | ExternalRefCountWithContiguousData< T > |
| class | ExternalRefCount< T > |
| class | QSharedPointer< T > |
| class | QWeakPointer< T > |
Namespaces | |
| QtSharedPointer | |
| std | |
Macros | |
| #define | QSHAREDPOINTER_VERIFY_AUTO_CAST(T, X) qt_sharedpointer_cast_check<T>(static_cast<X *>(0)) |
Functions | |
| template<typename T > | |
| QT_BEGIN_HEADER QT_BEGIN_NAMESPACE void | qt_sharedpointer_cast_check (T *) |
| template<class X , class T > | |
| QSharedPointer< X > | qSharedPointerCast (const QSharedPointer< T > &ptr) |
| template<class X , class T > | |
| QSharedPointer< X > | qSharedPointerDynamicCast (const QSharedPointer< T > &ptr) |
| template<class X , class T > | |
| QSharedPointer< X > | qSharedPointerConstCast (const QSharedPointer< T > &ptr) |
| template<class X , class T > | |
| QSharedPointer< X > | qSharedPointerObjectCast (const QSharedPointer< T > &ptr) |
| template<class X , class Y > | |
| QSharedPointer< X > | copyAndSetPointer (X *ptr, const QSharedPointer< Y > &src) |
| Q_CORE_EXPORT void | internalSafetyCheckAdd2 (const void *, const volatile void *) |
| Q_CORE_EXPORT void | internalSafetyCheckRemove2 (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) |
| template<class T > | |
| void | normalDeleter (T *t) |
| template<class T , class X > | |
| bool | operator== (const QSharedPointer< T > &ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| bool | operator!= (const QSharedPointer< T > &ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| bool | operator== (const QSharedPointer< T > &ptr1, const X *ptr2) |
| template<class T , class X > | |
| bool | operator== (const T *ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| bool | operator!= (const QSharedPointer< T > &ptr1, const X *ptr2) |
| template<class T , class X > | |
| bool | operator!= (const T *ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| bool | operator== (const QSharedPointer< T > &ptr1, const QWeakPointer< X > &ptr2) |
| template<class T , class X > | |
| bool | operator!= (const QSharedPointer< T > &ptr1, const QWeakPointer< X > &ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE QSharedPointer< T >::difference_type | operator- (const QSharedPointer< T > &ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE QSharedPointer< T >::difference_type | operator- (const QSharedPointer< T > &ptr1, X *ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE QSharedPointer< X >::difference_type | operator- (T *ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE bool | operator< (const QSharedPointer< T > &ptr1, const QSharedPointer< X > &ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE bool | operator< (const QSharedPointer< T > &ptr1, X *ptr2) |
| template<class T , class X > | |
| Q_INLINE_TEMPLATE bool | operator< (T *ptr1, const QSharedPointer< X > &ptr2) |
| template<class T > | |
| uint | qHash (const T *key) |
| template<class T > | |
| Q_INLINE_TEMPLATE uint | qHash (const QSharedPointer< T > &ptr) |
| template<class T > | |
| void | qSwap (QSharedPointer< T > &p1, QSharedPointer< T > &p2) |
| template<class T > | |
| void | swap (QT_PREPEND_NAMESPACE(QSharedPointer)< T > &p1, QT_PREPEND_NAMESPACE(QSharedPointer)< T > &p2) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | copyAndSetPointer (X *ptr, const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerCast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerCast (const QWeakPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerDynamicCast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerDynamicCast (const QWeakPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerConstCast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerConstCast (const QWeakPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QWeakPointer< X > | qWeakPointerCast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerObjectCast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| Q_INLINE_TEMPLATE QSharedPointer< X > | qSharedPointerObjectCast (const QWeakPointer< T > &src) |
| template<class X , class T > | |
| QSharedPointer< typename QtSharedPointer::RemovePointer< X >::Type > | qobject_cast (const QSharedPointer< T > &src) |
| template<class X , class T > | |
| QSharedPointer< typename QtSharedPointer::RemovePointer< X >::Type > | qobject_cast (const QWeakPointer< T > &src) |
| template<typename T > | |
| Q_DECLARE_TYPEINFO_BODY (QWeakPointer< T >, Q_MOVABLE_TYPE) | |
| template<typename T > | |
| Q_DECLARE_TYPEINFO_BODY (QSharedPointer< T >, Q_MOVABLE_TYPE) | |
| #define QSHAREDPOINTER_VERIFY_AUTO_CAST | ( | T, | |
| X | |||
| ) | qt_sharedpointer_cast_check<T>(static_cast<X *>(0)) |
Definition at line 81 of file qsharedpointer_impl.h.
|
inline |
Definition at line 80 of file qsharedpointer_impl.h.
| QSharedPointer<X> qSharedPointerCast | ( | const QSharedPointer< T > & | ptr | ) |
Definition at line 820 of file qsharedpointer_impl.h.
| QSharedPointer<X> qSharedPointerDynamicCast | ( | const QSharedPointer< T > & | ptr | ) |
Definition at line 832 of file qsharedpointer_impl.h.
| QSharedPointer<X> qSharedPointerConstCast | ( | const QSharedPointer< T > & | ptr | ) |
Definition at line 846 of file qsharedpointer_impl.h.
| QSharedPointer<X> qSharedPointerObjectCast | ( | const QSharedPointer< T > & | ptr | ) |
Definition at line 866 of file qsharedpointer_impl.h.
| bool operator== | ( | const QSharedPointer< T > & | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 694 of file qsharedpointer_impl.h.
| bool operator!= | ( | const QSharedPointer< T > & | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 699 of file qsharedpointer_impl.h.
| bool operator== | ( | const QSharedPointer< T > & | ptr1, |
| const X * | ptr2 | ||
| ) |
Definition at line 705 of file qsharedpointer_impl.h.
| bool operator== | ( | const T * | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 710 of file qsharedpointer_impl.h.
| bool operator!= | ( | const QSharedPointer< T > & | ptr1, |
| const X * | ptr2 | ||
| ) |
Definition at line 715 of file qsharedpointer_impl.h.
| bool operator!= | ( | const T * | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 720 of file qsharedpointer_impl.h.
| bool operator== | ( | const QSharedPointer< T > & | ptr1, |
| const QWeakPointer< X > & | ptr2 | ||
| ) |
Definition at line 726 of file qsharedpointer_impl.h.
| bool operator!= | ( | const QSharedPointer< T > & | ptr1, |
| const QWeakPointer< X > & | ptr2 | ||
| ) |
Definition at line 731 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<T>::difference_type operator- | ( | const QSharedPointer< T > & | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 740 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<T>::difference_type operator- | ( | const QSharedPointer< T > & | ptr1, |
| X * | ptr2 | ||
| ) |
Definition at line 745 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X>::difference_type operator- | ( | T * | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 750 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE bool operator< | ( | const QSharedPointer< T > & | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 759 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE bool operator< | ( | const QSharedPointer< T > & | ptr1, |
| X * | ptr2 | ||
| ) |
Definition at line 764 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE bool operator< | ( | T * | ptr1, |
| const QSharedPointer< X > & | ptr2 | ||
| ) |
Definition at line 769 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE uint qHash | ( | const QSharedPointer< T > & | ptr | ) |
Definition at line 779 of file qsharedpointer_impl.h.
|
inline |
Definition at line 792 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerCast | ( | const QSharedPointer< T > & | src | ) |
Definition at line 820 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerCast | ( | const QWeakPointer< T > & | src | ) |
Definition at line 826 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerDynamicCast | ( | const QSharedPointer< T > & | src | ) |
Definition at line 832 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerDynamicCast | ( | const QWeakPointer< T > & | src | ) |
Definition at line 840 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerConstCast | ( | const QSharedPointer< T > & | src | ) |
Definition at line 846 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerConstCast | ( | const QWeakPointer< T > & | src | ) |
Definition at line 852 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QWeakPointer<X> qWeakPointerCast | ( | const QSharedPointer< T > & | src | ) |
Definition at line 859 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerObjectCast | ( | const QSharedPointer< T > & | src | ) |
Definition at line 866 of file qsharedpointer_impl.h.
| Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerObjectCast | ( | const QWeakPointer< T > & | src | ) |
Definition at line 872 of file qsharedpointer_impl.h.
|
inline |
Definition at line 879 of file qsharedpointer_impl.h.
|
inline |
Definition at line 885 of file qsharedpointer_impl.h.
| Q_DECLARE_TYPEINFO_BODY | ( | QWeakPointer< T > | , |
| Q_MOVABLE_TYPE | |||
| ) |
| Q_DECLARE_TYPEINFO_BODY | ( | QSharedPointer< T > | , |
| Q_MOVABLE_TYPE | |||
| ) |