io.qt.help.QHelpContentItem Maven / Gradle / Ivy
package io.qt.help;
import io.qt.*;
/**
* Item for use with QHelpContentModel
* Java wrapper for Qt class QHelpContentItem
*/
public final class QHelpContentItem extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QHelpContentItem:: QHelpContentItem(QHelpContentItem)
*/
public QHelpContentItem(io.qt.help.@StrictNonNull QHelpContentItem other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QHelpContentItem instance, io.qt.help.QHelpContentItem other);
/**
* See QHelpContentItem:: child(int)const
*/
@QtUninvokable
public final io.qt.help.@Nullable QHelpContentItem child(int row){
return child_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@QtUninvokable
private native io.qt.help.QHelpContentItem child_native_int_constfct(long __this__nativeId, int row);
/**
* See QHelpContentItem:: childCount()const
*/
@QtUninvokable
public final int childCount(){
return childCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int childCount_native_constfct(long __this__nativeId);
/**
* See QHelpContentItem:: childPosition(QHelpContentItem*)const
*/
@QtUninvokable
public final int childPosition(io.qt.help.@Nullable QHelpContentItem child){
return childPosition_native_QHelpContentItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(child));
}
@QtUninvokable
private native int childPosition_native_QHelpContentItem_ptr_constfct(long __this__nativeId, long child);
/**
* See QHelpContentItem:: parent()const
*/
@QtUninvokable
public final io.qt.help.@Nullable QHelpContentItem parent(){
return parent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.help.QHelpContentItem parent_native_constfct(long __this__nativeId);
/**
* See QHelpContentItem:: row()const
*/
@QtUninvokable
public final int row(){
return row_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int row_native_constfct(long __this__nativeId);
/**
* See QHelpContentItem:: 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 QHelpContentItem:: 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 QHelpContentItem(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QHelpContentItem:: QHelpContentItem(QHelpContentItem)
*/
@QtUninvokable
@Override
public QHelpContentItem clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QHelpContentItem clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy