All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.webengine.core.QWebEngineClientHints Maven / Gradle / Ivy

Go to download

Provides public API shared by both modules {@code qtjambi.webenginequick} and {@code qtjambi.webenginewidgets}.

There is a newer version: 6.7.2
Show newest version
package io.qt.webengine.core;

import io.qt.*;


/**
 * 

Object to customize User-Agent Client Hints used by a profile

*

Java wrapper for Qt class QWebEngineClientHints

* @since This class was introduced in Qt 6.8. */ public final class QWebEngineClientHints extends io.qt.core.QObject { 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(QWebEngineClientHints.class); /** *

Java wrapper for Qt enum QWebEngineClientHints::QmlIsUncreatable

*/ @QtUnlistedEnum public enum QmlIsUncreatable implements QtEnumerator { /** *

Representing QWebEngineClientHints::QmlIsUncreatable::yes

*/ yes(value_yes()); static { QtJambi_LibraryUtilities.initialize(); } private QmlIsUncreatable(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull QmlIsUncreatable resolve(int value) { if(value==yes.value){ return yes; } else { throw new QNoSuchEnumValueException(value); } } private static native int value_yes(); private final int value; } /** *

See QWebEngineClientHints::arch()const

* @return */ @QtPropertyReader(name="arch") @QtUninvokable public final java.lang.@NonNull String arch(){ return arch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String arch_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::bitness()const

* @return */ @QtPropertyReader(name="bitness") @QtUninvokable public final java.lang.@NonNull String bitness(){ return bitness_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String bitness_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::fullVersion()const

* @return */ @QtPropertyReader(name="fullVersion") @QtUninvokable public final java.lang.@NonNull String fullVersion(){ return fullVersion_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String fullVersion_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::fullVersionList()const

* @return */ @QtPropertyReader(name="fullVersionList") @QtUninvokable public final io.qt.core.@NonNull QMap fullVersionList(){ return fullVersionList_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMap fullVersionList_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::isAllClientHintsEnabled()

* @return */ @QtPropertyReader(name="isAllClientHintsEnabled") @QtUninvokable public final boolean isAllClientHintsEnabled(){ return isAllClientHintsEnabled_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isAllClientHintsEnabled_native(long __this__nativeId); /** *

See QWebEngineClientHints::isMobile()const

* @return */ @QtPropertyReader(name="mobile") @QtUninvokable public final boolean isMobile(){ return isMobile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isMobile_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::isWow64()const

* @return */ @QtPropertyReader(name="wow64") @QtUninvokable public final boolean isWow64(){ return isWow64_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isWow64_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::model()const

* @return */ @QtPropertyReader(name="model") @QtUninvokable public final java.lang.@NonNull String model(){ return model_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String model_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::platform()const

* @return */ @QtPropertyReader(name="platform") @QtUninvokable public final java.lang.@NonNull String platform(){ return platform_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String platform_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::platformVersion()const

* @return */ @QtPropertyReader(name="platformVersion") @QtUninvokable public final java.lang.@NonNull String platformVersion(){ return platformVersion_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String platformVersion_native_constfct(long __this__nativeId); /** *

See QWebEngineClientHints::qt_qmlMarker_uncreatable()

*/ @QtUninvokable public final void qt_qmlMarker_uncreatable(){ qt_qmlMarker_uncreatable_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void qt_qmlMarker_uncreatable_native(long __this__nativeId); /** *

See QWebEngineClientHints::resetAll()

*/ public final void resetAll(){ resetAll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void resetAll_native(long __this__nativeId); /** *

See QWebEngineClientHints::setAllClientHintsEnabled(bool)

* @param enabled */ @QtPropertyWriter(name="isAllClientHintsEnabled") @QtUninvokable public final void setAllClientHintsEnabled(boolean enabled){ setAllClientHintsEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled); } @QtUninvokable private native void setAllClientHintsEnabled_native_bool(long __this__nativeId, boolean enabled); /** *

See QWebEngineClientHints::setArch(QString)

* @param arg__1 */ @QtPropertyWriter(name="arch") @QtUninvokable public final void setArch(java.lang.@NonNull String arg__1){ setArch_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setArch_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QWebEngineClientHints::setBitness(QString)

* @param arg__1 */ @QtPropertyWriter(name="bitness") @QtUninvokable public final void setBitness(java.lang.@NonNull String arg__1){ setBitness_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setBitness_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QWebEngineClientHints::setFullVersion(QString)

* @param arg__1 */ @QtPropertyWriter(name="fullVersion") @QtUninvokable public final void setFullVersion(java.lang.@NonNull String arg__1){ setFullVersion_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setFullVersion_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QWebEngineClientHints::setFullVersionList(QVariantMap)

* @param arg__1 */ @QtPropertyWriter(name="fullVersionList") @QtUninvokable public final void setFullVersionList(java.util.@NonNull Map arg__1){ setFullVersionList_native_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setFullVersionList_native_cref_QMap(long __this__nativeId, java.util.Map arg__1); /** *

See QWebEngineClientHints::setIsMobile(bool)

* @param arg__1 */ @QtPropertyWriter(name="mobile") @QtUninvokable public final void setIsMobile(boolean arg__1){ setIsMobile_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setIsMobile_native_bool(long __this__nativeId, boolean arg__1); /** *

See QWebEngineClientHints::setIsWow64(bool)

* @param arg__1 */ @QtPropertyWriter(name="wow64") @QtUninvokable public final void setIsWow64(boolean arg__1){ setIsWow64_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setIsWow64_native_bool(long __this__nativeId, boolean arg__1); /** *

See QWebEngineClientHints::setModel(QString)

* @param arg__1 */ @QtPropertyWriter(name="model") @QtUninvokable public final void setModel(java.lang.@NonNull String arg__1){ setModel_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setModel_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QWebEngineClientHints::setPlatform(QString)

* @param arg__1 */ @QtPropertyWriter(name="platform") @QtUninvokable public final void setPlatform(java.lang.@NonNull String arg__1){ setPlatform_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setPlatform_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QWebEngineClientHints::setPlatformVersion(QString)

* @param arg__1 */ @QtPropertyWriter(name="platformVersion") @QtUninvokable public final void setPlatformVersion(java.lang.@NonNull String arg__1){ setPlatformVersion_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setPlatformVersion_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess private QWebEngineClientHints(QPrivateConstructor p) { super(p); } /** * @hidden *

Kotlin property getter. In Java use {@link #arch()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getArch() { return arch(); } /** * @hidden *

Kotlin property getter. In Java use {@link #bitness()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getBitness() { return bitness(); } /** * @hidden *

Kotlin property getter. In Java use {@link #fullVersion()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getFullVersion() { return fullVersion(); } /** * @hidden *

Kotlin property getter. In Java use {@link #fullVersionList()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QMap getFullVersionList() { return fullVersionList(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isMobile()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getMobile() { return isMobile(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isWow64()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getWow64() { return isWow64(); } /** * @hidden *

Kotlin property getter. In Java use {@link #model()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getModel() { return model(); } /** * @hidden *

Kotlin property getter. In Java use {@link #platform()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getPlatform() { return platform(); } /** * @hidden *

Kotlin property getter. In Java use {@link #platformVersion()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getPlatformVersion() { return platformVersion(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy