QScopedPointer

#include <QtCore/QScopedPointer>

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


Overview

Inheritance

QScopedPointer
QScopedArrayPointer

Public Types Index

Protected Attributes Index

T *d

Public Functions Index

QScopedPointer (T *p=0)
~QScopedPointer ()
T *data () const
boolisNull () const
operator RestrictedBool () const
booloperator! () const
T &operator* () const
T *operator-> () const
voidreset (T *other=0)
voidswap (QScopedPointer< T, Cleanup > &other)
T *take ()

Public Types

typedef T * pointer

Protected Attributes

T * d ()

Public Functions

QScopedPointer (
  • T *p)

~QScopedPointer ()

Destructor.

T * data ()

bool isNull ()

operator RestrictedBool ()

bool operator! ()

T & operator* ()

T * operator-> ()

void reset (
  • T *other)

void swap (

T * take ()

Last modified: 2015-07-24



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

comments powered by Disqus