io.qt.help.QHelpContentModel Maven / Gradle / Ivy
package io.qt.help;
import io.qt.*;
/**
* Model that supplies content to views
* Java wrapper for Qt class QHelpContentModel
*/
public final class QHelpContentModel extends io.qt.core.QAbstractItemModel
{
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(QHelpContentModel.class);
/**
* See QHelpContentModel:: contentsCreated()
*/
public final @NonNull Signal0 contentsCreated = new Signal0();
/**
* See QHelpContentModel:: contentsCreationStarted()
*/
public final @NonNull Signal0 contentsCreationStarted = new Signal0();
/**
* See QHelpContentModel:: contentItemAt(QModelIndex)const
*/
@QtUninvokable
public final io.qt.help.@Nullable QHelpContentItem contentItemAt(io.qt.core.@NonNull QModelIndex index){
return contentItemAt_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index));
}
@QtUninvokable
private native io.qt.help.QHelpContentItem contentItemAt_native_cref_QModelIndex_constfct(long __this__nativeId, long index);
/**
* See QHelpContentModel:: createContents(QString)
*/
@QtUninvokable
public final void createContents(java.lang.@NonNull String customFilterName){
createContents_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), customFilterName);
}
@QtUninvokable
private native void createContents_native_cref_QString(long __this__nativeId, java.lang.String customFilterName);
/**
* See QHelpContentModel:: isCreatingContents()const
*/
@QtUninvokable
public final boolean isCreatingContents(){
return isCreatingContents_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCreatingContents_native_constfct(long __this__nativeId);
/**
* See QAbstractItemModel:: columnCount(QModelIndex)const
*/
@QtUninvokable
@Override
public int columnCount(io.qt.core.@NonNull QModelIndex parent){
return columnCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@QtUninvokable
private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent);
/**
* See QAbstractItemModel:: data(QModelIndex, int)const
*/
@QtUninvokable
@Override
public java.lang.Object data(io.qt.core.@NonNull QModelIndex index, int role){
return data_native_cref_QModelIndex_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), role);
}
@QtUninvokable
private native java.lang.Object data_native_cref_QModelIndex_int_constfct(long __this__nativeId, long index, int role);
/**
* See QAbstractItemModel:: index(int, int, QModelIndex)const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QModelIndex index(int row, int column, io.qt.core.@NonNull QModelIndex parent){
return index_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@QtUninvokable
private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parent);
/**
* See QAbstractItemModel:: parent(QModelIndex)const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QModelIndex parent(io.qt.core.@NonNull QModelIndex index){
return parent_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index));
}
@QtUninvokable
private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, long index);
/**
* See QAbstractItemModel:: rowCount(QModelIndex)const
*/
@QtUninvokable
@Override
public int rowCount(io.qt.core.@NonNull QModelIndex parent){
return rowCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@QtUninvokable
private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QHelpContentModel(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy