io.qt.webengine.core.QWebEngineFindTextResult Maven / Gradle / Ivy
Show all versions of qtjambi-webenginecore Show documentation
package io.qt.webengine.core;
import io.qt.*;
/**
* Encapsulates the result of a string search on a page
* Java wrapper for Qt class QWebEngineFindTextResult
*/
public class QWebEngineFindTextResult 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(QWebEngineFindTextResult.class);
/**
* See QWebEngineFindTextResult:: QWebEngineFindTextResult()
*/
public QWebEngineFindTextResult(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QWebEngineFindTextResult instance);
/**
* See QWebEngineFindTextResult:: QWebEngineFindTextResult(QWebEngineFindTextResult)
* @param other
*/
public QWebEngineFindTextResult(io.qt.webengine.core.@NonNull QWebEngineFindTextResult other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QWebEngineFindTextResult instance, io.qt.webengine.core.QWebEngineFindTextResult other);
/**
* See QWebEngineFindTextResult:: activeMatch()const
* @return
*/
@QtPropertyReader(name="activeMatch")
@QtPropertyConstant
@QtUninvokable
public final int activeMatch(){
return activeMatch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int activeMatch_native_constfct(long __this__nativeId);
/**
* See QWebEngineFindTextResult:: numberOfMatches()const
* @return
*/
@QtPropertyReader(name="numberOfMatches")
@QtPropertyConstant
@QtUninvokable
public final int numberOfMatches(){
return numberOfMatches_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int numberOfMatches_native_constfct(long __this__nativeId);
/**
* See QWebEngineFindTextResult:: operator=(QWebEngineFindTextResult)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.webengine.core.@NonNull QWebEngineFindTextResult other){
assign_native_cref_QWebEngineFindTextResult(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QWebEngineFindTextResult(long __this__nativeId, long other);
/**
* See operator==(QWebEngineFindTextResult, QWebEngineFindTextResult)
* @param arg2
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.webengine.core.@NonNull QWebEngineFindTextResult arg2){
return equals_native_cref_QWebEngineFindTextResult(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg2));
}
@QtUninvokable
private native boolean equals_native_cref_QWebEngineFindTextResult(long __this__nativeId, long arg2);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QWebEngineFindTextResult(QPrivateConstructor p) { super(p); }
/**
* See operator==(QWebEngineFindTextResult, QWebEngineFindTextResult)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.webengine.core.QWebEngineFindTextResult) {
return equals((io.qt.webengine.core.QWebEngineFindTextResult) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QWebEngineFindTextResult)
.
*/
@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 QWebEngineFindTextResult:: QWebEngineFindTextResult(QWebEngineFindTextResult)
*/
@QtUninvokable
@Override
public QWebEngineFindTextResult clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QWebEngineFindTextResult clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #activeMatch()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getActiveMatch() {
return activeMatch();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #numberOfMatches()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getNumberOfMatches() {
return numberOfMatches();
}
/**
* @deprecated Use {@link #assign(io.qt.webengine.core.QWebEngineFindTextResult)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.webengine.core.@NonNull QWebEngineFindTextResult other) {
assign(other);
}
}