io.qt.webengine.core.QWebEngineQuotaRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-webenginecore-jre8 Show documentation
Show all versions of qtjambi-webenginecore-jre8 Show documentation
Provides public API shared by both modules {@code qtjambi.webenginequick} and {@code qtjambi.webenginewidgets}.
package io.qt.webengine.core;
/**
* Enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API
* Java wrapper for Qt class QWebEngineQuotaRequest
*/
public class QWebEngineQuotaRequest extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWebEngineQuotaRequest.class);
public QWebEngineQuotaRequest(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QWebEngineQuotaRequest instance);
/**
* See QWebEngineQuotaRequest::accept()
*/
public final void accept(){
accept_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void accept_native(long __this__nativeId);
/**
* See QWebEngineQuotaRequest::operator==(QWebEngineQuotaRequest)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.webengine.core.QWebEngineQuotaRequest that){
return operator_equal_native_cref_QWebEngineQuotaRequest_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(that));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QWebEngineQuotaRequest_constfct(long __this__nativeId, long that);
/**
* See QWebEngineQuotaRequest::origin()const
*/
@io.qt.QtPropertyReader(name="origin")
@io.qt.QtPropertyConstant
@io.qt.QtUninvokable
public final io.qt.core.QUrl origin(){
return origin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QUrl origin_native_constfct(long __this__nativeId);
/**
* See QWebEngineQuotaRequest::reject()
*/
public final void reject(){
reject_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void reject_native(long __this__nativeId);
/**
* See QWebEngineQuotaRequest::requestedSize()const
*/
@io.qt.QtPropertyReader(name="requestedSize")
@io.qt.QtPropertyConstant
@io.qt.QtUninvokable
public final long requestedSize(){
return requestedSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native long requestedSize_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QWebEngineQuotaRequest(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.webengine.core.QWebEngineQuotaRequest) {
return operator_equal((io.qt.webengine.core.QWebEngineQuotaRequest) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public QWebEngineQuotaRequest clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QWebEngineQuotaRequest clone_native(long __this_nativeId);
}