io.qt.help.QHelpSearchEngine Maven / Gradle / Ivy
Show all versions of qtjambi-help Show documentation
package io.qt.help;
/**
* Access to widgets reusable to integrate fulltext search as well as to index and search documentation
* Java wrapper for Qt class QHelpSearchEngine
*/
public class QHelpSearchEngine extends io.qt.core.QObject
{
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(QHelpSearchEngine.class);
/**
* See QHelpSearchEngine::indexingFinished()
*/
public final Signal0 indexingFinished = new Signal0();
/**
* See QHelpSearchEngine::indexingStarted()
*/
public final Signal0 indexingStarted = new Signal0();
/**
* See QHelpSearchEngine::searchingFinished(int)
*/
public final Signal1<@io.qt.QtPrimitiveType Integer> searchingFinished = new Signal1<>();
/**
* See QHelpSearchEngine::searchingStarted()
*/
public final Signal0 searchingStarted = new Signal0();
/**
* Overloaded constructor for {@link #QHelpSearchEngine(io.qt.help.QHelpEngineCore, io.qt.core.QObject)}
* with parent = null
.
*/
public QHelpSearchEngine(io.qt.help.QHelpEngineCore helpEngine) {
this(helpEngine, (io.qt.core.QObject)null);
}
/**
* See QHelpSearchEngine::QHelpSearchEngine(QHelpEngineCore*,QObject*)
*/
public QHelpSearchEngine(io.qt.help.QHelpEngineCore helpEngine, io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, helpEngine, parent);
if (parent != null) QtJambi_LibraryUtilities.internal.setCppOwnership(this);
}
private native static void initialize_native(QHelpSearchEngine instance, io.qt.help.QHelpEngineCore helpEngine, io.qt.core.QObject parent);
/**
* See QHelpSearchEngine::cancelIndexing()
*/
public final void cancelIndexing(){
cancelIndexing_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void cancelIndexing_native(long __this__nativeId);
/**
* See QHelpSearchEngine::cancelSearching()
*/
public final void cancelSearching(){
cancelSearching_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void cancelSearching_native(long __this__nativeId);
/**
* See QHelpSearchEngine::hitCount()const
*/
@Deprecated
@io.qt.QtUninvokable
public final int hitCount(){
return hitCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int hitCount_native_constfct(long __this__nativeId);
/**
* See QHelpSearchEngine::hits(int,int)const
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QList> hits(int start, int end){
return hits_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), start, end);
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QList> hits_native_int_int_constfct(long __this__nativeId, int start, int end);
/**
* See QHelpSearchEngine::hitsCount()const
*/
@Deprecated
@io.qt.QtUninvokable
public final int hitsCount(){
return hitsCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int hitsCount_native_constfct(long __this__nativeId);
/**
* See QHelpSearchEngine::query()const
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QList query(){
return query_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QList query_native_constfct(long __this__nativeId);
/**
* See QHelpSearchEngine::queryWidget()
*/
@io.qt.QtUninvokable
public final io.qt.help.QHelpSearchQueryWidget queryWidget(){
return queryWidget_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.help.QHelpSearchQueryWidget queryWidget_native(long __this__nativeId);
/**
* See QHelpSearchEngine::reindexDocumentation()
*/
public final void reindexDocumentation(){
reindexDocumentation_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void reindexDocumentation_native(long __this__nativeId);
/**
* See QHelpSearchEngine::resultWidget()
*/
@io.qt.QtUninvokable
public final io.qt.help.QHelpSearchResultWidget resultWidget(){
return resultWidget_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.help.QHelpSearchResultWidget resultWidget_native(long __this__nativeId);
public final void scheduleIndexDocumentation(){
scheduleIndexDocumentation_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void scheduleIndexDocumentation_native(long __this__nativeId);
/**
* See QHelpSearchEngine::search(QList<QHelpSearchQuery>)
*/
@Deprecated
public final void search(java.util.Collection extends io.qt.help.QHelpSearchQuery> queryList){
search_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), queryList);
}
@Deprecated
private native void search_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.help.QHelpSearchQuery> queryList);
/**
* See QHelpSearchEngine::search(QString)
*/
public final void search(java.lang.String searchInput){
search_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), searchInput);
}
private native void search_native_cref_QString(long __this__nativeId, java.lang.String searchInput);
/**
* See QHelpSearchEngine::searchInput()const
*/
@io.qt.QtUninvokable
public final java.lang.String searchInput(){
return searchInput_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String searchInput_native_constfct(long __this__nativeId);
/**
* See QHelpSearchEngine::searchResultCount()const
*/
@io.qt.QtUninvokable
public final int searchResultCount(){
return searchResultCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int searchResultCount_native_constfct(long __this__nativeId);
/**
* See QHelpSearchEngine::searchResults(int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QVector searchResults(int start, int end){
return searchResults_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), start, end);
}
@io.qt.QtUninvokable
private native io.qt.core.QVector searchResults_native_int_int_constfct(long __this__nativeId, int start, int end);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QHelpSearchEngine(QPrivateConstructor p) { super(p); }
}