|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A unique pointer for QObject objects that also works with QObject-based ownership. More...
#include <src/utils/qt.h>
Public Member Functions | |
| QObjectUniquePtr (T *ptr=nullptr) | |
| QObjectUniquePtr (QObjectUniquePtr &&other) noexcept | |
| QObjectUniquePtr & | operator= (QObjectUniquePtr &&other) noexcept |
| template<typename U> requires std::derived_from<U, T> | |
| QObjectUniquePtr & | operator= (QObjectUniquePtr< U > &&other) noexcept |
| void | reset (T *ptr=nullptr) |
| T * | release () |
| T * | get () const |
| T * | operator-> () const |
| T & | operator* () const |
| operator bool () const | |
| operator QPointer< T > () const | |
A unique pointer for QObject objects that also works with QObject-based ownership.
| T |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |