|  | Qt 6.x
    The Qt SDK | 
Go to the source code of this file.
| Classes | |
| class | MyClass | 
| [4]  More... | |
| struct | ScopedPointerCustomDeleter | 
| Functions | |
| void | myFunction (bool useSubClass) | 
| [0] | |
| const QScopedPointer< const QWidget > | p (new QWidget()) | 
| if (scopedPointer) | |
| [2] | |
| QScopedPointer< MyCustomClass, ScopedPointerCustomDeleter > | customPointer (new MyCustomClass) | 
| Variables | |
| const QWidget *const | p = new QWidget() | 
| [1] | |
| QScopedPointer< int, QScopedPointerArrayDeleter< int > > | arrayPointer (new int[42]) | 
| [4] | |
| QScopedPointer< int, QScopedPointerPodDeleter > | podPointer (reinterpret_cast< int * >(malloc(42))) | 
| QScopedPointer< MyCustomClass, ScopedPointerCustomDeleter > customPointer | ( | new | MyCustomClass | ) | 
| if | ( | scopedPointer | ) | 
| void myFunction | ( | bool | useSubClass | ) | 
| const QScopedPointer< const QWidget > p | ( | new | QWidget() | ) | 
| QScopedPointer< int, QScopedPointerArrayDeleter< int > > arrayPointer(new int[42]) | ( | new int | [42] | ) | 
[4]
[5]
[1]
[2]
Definition at line 45 of file src_corelib_tools_qscopedpointer.cpp.
Referenced by myFunction().
| QScopedPointer< int, QScopedPointerPodDeleter > podPointer(reinterpret_cast< int * >(malloc(42))) | ( | reinterpret_cast< int * > | malloc(42) | ) |