QtBase  v6.3.1
Classes | Functions | Variables
src_corelib_tools_qscopedpointer.cpp File Reference

Go to the source code of this file.

Classes

class  MyClass
 [4] More...
 
struct  ScopedPointerCustomDeleter
 

Functions

void myFunction (bool useSubClass)
 [0] More...
 
const QScopedPointer< const QWidgetp (new QWidget())
 
 if (scopedPointer)
 [2] More...
 
QScopedPointer< MyCustomClass, ScopedPointerCustomDeletercustomPointer (new MyCustomClass)
 

Variables

const QWidget *const p = new QWidget()
 [1] More...
 
QScopedPointer< int, QScopedPointerArrayDeleter< int > > arrayPointer (new int[42])
 [4] More...
 
QScopedPointer< int, QScopedPointerPodDeleterpodPointer (reinterpret_cast< int * >(malloc(42)))
 

Function Documentation

◆ customPointer()

QScopedPointer<MyCustomClass, ScopedPointerCustomDeleter> customPointer ( new  MyCustomClass)

◆ if()

if ( scopedPointer  )

[2]

[3]

Definition at line 106 of file src_corelib_tools_qscopedpointer.cpp.

◆ myFunction()

void myFunction ( bool  useSubClass)

[0]

[1]

Definition at line 52 of file src_corelib_tools_qscopedpointer.cpp.

◆ p()

const QScopedPointer<const QWidget> p ( new   QWidget())

Variable Documentation

◆ arrayPointer

QScopedPointer<int, QScopedPointerArrayDeleter<int> > arrayPointer(new int[42]) ( new int  [42])

[4]

[5]

◆ p

const QWidget* p = new QWidget()

[1]

[2]

Definition at line 92 of file src_corelib_tools_qscopedpointer.cpp.

◆ podPointer

QScopedPointer<int, QScopedPointerPodDeleter> podPointer(reinterpret_cast< int * >(malloc(42))) ( reinterpret_cast< int * >  malloc(42))