io.qt.help.QHelpSearchResult Maven / Gradle / Ivy
package io.qt.help;
import io.qt.*;
/**
* The data associated with the search result
* Java wrapper for Qt class QHelpSearchResult
*/
public class QHelpSearchResult extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QHelpSearchResult:: QHelpSearchResult()
*/
public QHelpSearchResult(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QHelpSearchResult instance);
/**
* See QHelpSearchResult:: QHelpSearchResult(QHelpSearchResult)
*/
public QHelpSearchResult(io.qt.help.@NonNull QHelpSearchResult other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QHelpSearchResult instance, io.qt.help.QHelpSearchResult other);
/**
* See QHelpSearchResult:: QHelpSearchResult(QUrl, QString, QString)
*/
public QHelpSearchResult(io.qt.core.@NonNull QUrl url, java.lang.@NonNull String title, java.lang.@NonNull String snippet){
super((QPrivateConstructor)null);
initialize_native(this, url, title, snippet);
}
private native static void initialize_native(QHelpSearchResult instance, io.qt.core.QUrl url, java.lang.String title, java.lang.String snippet);
/**
* See QHelpSearchResult:: operator=(QHelpSearchResult)
*/
@QtUninvokable
public final void assign(io.qt.help.@NonNull QHelpSearchResult other){
assign_native_cref_QHelpSearchResult(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QHelpSearchResult(long __this__nativeId, long other);
/**
* See QHelpSearchResult:: snippet()const
*/
@QtUninvokable
public final java.lang.@NonNull String snippet(){
return snippet_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String snippet_native_constfct(long __this__nativeId);
/**
* See QHelpSearchResult:: title()const
*/
@QtUninvokable
public final java.lang.@NonNull String title(){
return title_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String title_native_constfct(long __this__nativeId);
/**
* See QHelpSearchResult:: url()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl url(){
return url_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QUrl url_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QHelpSearchResult(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QHelpSearchResult:: QHelpSearchResult(QHelpSearchResult)
*/
@QtUninvokable
@Override
public QHelpSearchResult clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QHelpSearchResult clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QHelpSearchResult(io.qt.core.QUrl, java.lang.String, java.lang.String)}.
*/
public QHelpSearchResult(java.lang.@NonNull String url, java.lang.@NonNull String title, java.lang.@NonNull String snippet) {
this(new io.qt.core.QUrl(url), title, snippet);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy