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 Show documentation
Show all versions of qtjambi-webenginecore Show documentation
Provides public API shared by both modules {@code qtjambi.webenginequick} and {@code qtjambi.webenginewidgets}.
package io.qt.webengine.core;
import io.qt.*;
/**
* Java wrapper for Qt class QWebEngineQuotaRequest
*/
public class QWebEngineQuotaRequest extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWebEngineQuotaRequest.class);
/**
* See QWebEngineQuotaRequest:: QWebEngineQuotaRequest()
*
* @deprecated Requesting host quota is no longer supported.
*/
@Deprecated
public QWebEngineQuotaRequest(){
super((QPrivateConstructor)null);
initialize_native(this);
}
@Deprecated
private native static void initialize_native(QWebEngineQuotaRequest instance);
/**
* See QWebEngineQuotaRequest:: QWebEngineQuotaRequest(QWebEngineQuotaRequest)
*/
public QWebEngineQuotaRequest(io.qt.webengine.core.@NonNull QWebEngineQuotaRequest other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QWebEngineQuotaRequest instance, io.qt.webengine.core.QWebEngineQuotaRequest other);
/**
* 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
*/
@QtUninvokable
public final boolean equals(io.qt.webengine.core.@NonNull QWebEngineQuotaRequest arg__1){
return equals_native_cref_QWebEngineQuotaRequest_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean equals_native_cref_QWebEngineQuotaRequest_constfct(long __this__nativeId, long arg__1);
/**
* See QWebEngineQuotaRequest:: origin()const
*/
@QtPropertyReader(name="origin")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QUrl origin(){
return origin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@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
*/
@QtPropertyReader(name="requestedSize")
@QtPropertyConstant
@QtUninvokable
public final long requestedSize(){
return requestedSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long requestedSize_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QWebEngineQuotaRequest(QPrivateConstructor p) { super(p); }
/**
* See QWebEngineQuotaRequest:: operator==(QWebEngineQuotaRequest)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.webengine.core.QWebEngineQuotaRequest) {
return equals((io.qt.webengine.core.QWebEngineQuotaRequest) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QWebEngineQuotaRequest)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QWebEngineQuotaRequest:: QWebEngineQuotaRequest(QWebEngineQuotaRequest)
*/
@QtUninvokable
@Override
public QWebEngineQuotaRequest clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QWebEngineQuotaRequest clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #origin()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QUrl getOrigin() {
return origin();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #requestedSize()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final long getRequestedSize() {
return requestedSize();
}
}