107 if (sharedptr) { ... }
111 if (!sharedptr) { ... }
156 qDebug() <<
"The value has already been deleted";
A base class that allows obtaining a QSharedPointer for an object already managed by a shared pointer...
QSharedPointer< Y > sharedFromThis()
The QObject class is the base class of all Qt objects.
The QSharedPointer class holds a strong reference to a shared pointer.
The QWeakPointer class holds a weak reference to a shared pointer.
void slotCalledByScript(Y *managedBySharedPointer)