Inviwo 0.9.12-pre
Inviwo documentation
|
#include <qptr.h>
Public Member Functions | |
QPtr (std::nullptr_t) | |
QPtr (T *ptr) | |
QPtr (const QPtr &rhs)=delete | |
QPtr & | operator= (const QPtr &that)=delete |
QPtr (QPtr &&rhs) noexcept | |
QPtr & | operator= (QPtr &&that) noexcept |
void | reset (T *ptr=nullptr) |
A unique pointer that automatically connects to the QObject's destroyed signal to automatically release the pointer if the object is destroyed.