io.qt.core.QDebugStateSaver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Convenience class for custom QDebug operators
* Java wrapper for Qt class QDebugStateSaver
*/
public class QDebugStateSaver extends QtObject
implements java.lang.AutoCloseable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QDebugStateSaver:: QDebugStateSaver(QDebug&)
*/
public QDebugStateSaver(io.qt.core.@StrictNonNull QDebug dbg){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(dbg, "Argument 'dbg': null not expected.");
initialize_native(this, dbg);
}
private native static void initialize_native(QDebugStateSaver instance, io.qt.core.QDebug dbg);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDebugStateSaver(QPrivateConstructor p) { super(p); }
/**
* Deletes the underlying native object.
*/
@Override
public void close(){
dispose();
}
}