34 QScopedPointer<MyClass>
p(useSubClass ?
new MyClass() : new MySubClass);
35 QScopedPointer<QIODevice>
device(handsOverOwnership());
47 const QScopedPointer<const QWidget>
p(
new QWidget());
51 const QScopedPointer<QWidget>
p(
new QWidget());
55 QScopedPointer<const QWidget>
p(
new QWidget());
70 QScopedPointer<MyPrivateClass> privatePtr;
85QScopedPointer<int, QScopedPointerArrayDeleter<int> >
arrayPointer(
new int[42]);
88QScopedPointer<int, QScopedPointerPodDeleter>
podPointer(
reinterpret_cast<int *
>(malloc(42)));
100QScopedPointer<MyCustomClass, ScopedPointerCustomDeleter>
customPointer(
new MyCustomClass);
IOBluetoothDevice * device
\inmodule QtCore \reentrant
GLsizei const void * pointer
MyPrototype myFunction
[0]
static void cleanup(MyCustomClass *pointer)