QWeakPointer

#include <QtCore/QWeakPointer>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QWeakPointer


Overview

Public Types Index

const value_type *const_pointer
const value_type &const_reference
qptrdiffdifference_type
Telement_type
value_type *pointer
value_type &reference
Tvalue_type

Public Functions Index

QWeakPointer ()
QWeakPointer (X *ptr)
QWeakPointer (const QWeakPointer< T > &o)
QWeakPointer (const QSharedPointer< T > &o)
QWeakPointer (const QWeakPointer< X > &o)
QWeakPointer (const QSharedPointer< X > &o)
~QWeakPointer ()
voidclear ()
T *data () const
boolisNull () const
operator RestrictedBool () const
booloperator! () const
booloperator!= (const QWeakPointer< X > &o) const
booloperator!= (const QSharedPointer< X > &o) const
QWeakPointer &operator= (X *ptr)
QWeakPointer< T > &operator= (const QWeakPointer< T > &o)
QWeakPointer< T > &operator= (const QSharedPointer< T > &o)
QWeakPointer< T > &operator= (const QWeakPointer< X > &o)
QWeakPointer< T > &operator= (const QSharedPointer< X > &o)
booloperator== (const QWeakPointer< X > &o) const
booloperator== (const QSharedPointer< X > &o) const
QSharedPointer< T >toStrongRef () const

Public Types

typedef const value_type * const_pointer

typedef const value_type & const_reference

typedef qptrdiff difference_type

typedef T element_type

typedef value_type * pointer

typedef value_type & reference

typedef T value_type

Public Functions

QWeakPointer ()

QWeakPointer (
  • class X,
  • X *ptr )

QWeakPointer (

QWeakPointer (

QWeakPointer (

QWeakPointer (

~QWeakPointer ()

Destructor.

void clear ()

T * data ()

bool isNull ()

operator RestrictedBool ()

bool operator! ()

bool operator!= (

bool operator!= (

QWeakPointer & operator= (
  • class X,
  • X *ptr )

QWeakPointer< T > & operator= (

QWeakPointer< T > & operator= (

QWeakPointer< T > & operator= (

QWeakPointer< T > & operator= (

bool operator== (

bool operator== (

QSharedPointer< T > toStrongRef ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus