Module qtjambi
Package io.qt.core

Class QScopedArrayPointer<O>

java.lang.Object
io.qt.core.QScopedArrayPointer<O>
All Implemented Interfaces:
MetaTypeUtility.SmartPointer, AutoCloseable

public final class QScopedArrayPointer<O> extends Object implements AutoCloseable

Java wrapper for Qt class QScopedArrayPointer to be used inside a try-with-resource block.

Example:

try(var pointer = QScopedArrayPointer.disposing(new QDialog(), new QColor())){
    QDialog dialog = pointer.get(0);
    dialog.exec();
}
// dialog is disposed