Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQml Namespace Reference

Namespaces

namespace  PropertyUtils

Functions

template<typename T, typename ... Args>
QQmlRefPointer< T > makeRefPointer (Args &&... args)

Function Documentation

◆ makeRefPointer()

template<typename T, typename ... Args>
QQmlRefPointer< T > QQml::makeRefPointer ( Args &&... args)

Creates a QQmlRefPointer which takes ownership of a newly constructed T. T must derive from QQmlRefCounted<T> (as we rely on an initial refcount of 1). T will be constructed by forwarding args to its constructor.

Definition at line 120 of file qqmlrefcount_p.h.