All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QAbstractItemModel Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

The abstract interface for item model classes

*

Java wrapper for Qt class QAbstractItemModel

*/ public abstract class QAbstractItemModel extends io.qt.core.QObject { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractItemModel.class); @NativeAccess private static final class ConcreteWrapper extends QAbstractItemModel { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @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)); } private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); @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); } private native java.lang.Object data_native_cref_QModelIndex_int_constfct(long __this__nativeId, long index, int role); @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)); } private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parent); @Override public io.qt.core.@NonNull QModelIndex parent(io.qt.core.@NonNull QModelIndex child){ return parent_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(child)); } private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, long child); @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)); } private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); } /** *

Java wrapper for Qt enum QAbstractItemModel::CheckIndexOption

* * @see CheckIndexOptions */ public enum CheckIndexOption implements QtFlagEnumerator { /** *

Representing QAbstractItemModel::CheckIndexOption::NoOption

*/ NoOption(0), /** *

Representing QAbstractItemModel::CheckIndexOption::IndexIsValid

*/ IndexIsValid(1), /** *

Representing QAbstractItemModel::CheckIndexOption::DoNotUseParent

*/ DoNotUseParent(2), /** *

Representing QAbstractItemModel::CheckIndexOption::ParentIsInvalid

*/ ParentIsInvalid(4); static { QtJambi_LibraryUtilities.initialize(); } private CheckIndexOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ @Override public @NonNull CheckIndexOptions asFlags() { return new CheckIndexOptions(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull CheckIndexOptions combined(@NonNull CheckIndexOption e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull CheckIndexOptions cleared(@NonNull CheckIndexOption e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link CheckIndexOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull CheckIndexOptions flags(@Nullable CheckIndexOption @NonNull... values) { return new CheckIndexOptions(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull CheckIndexOption resolve(int value) { switch (value) { case 0: return NoOption; case 1: return IndexIsValid; case 2: return DoNotUseParent; case 4: return ParentIsInvalid; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link CheckIndexOption} */ public static final class CheckIndexOptions extends QFlags implements Comparable { private static final long serialVersionUID = 0x5bc5bcb902aa4cd5L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new CheckIndexOptions where the flags in args are set. * @param args enum entries */ public CheckIndexOptions(@Nullable CheckIndexOption @NonNull... args){ super(args); } /** * Creates a new CheckIndexOptions with given value. * @param value */ public CheckIndexOptions(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new CheckIndexOptions */ @Override public final @NonNull CheckIndexOptions combined(@StrictNonNull CheckIndexOption e){ return new CheckIndexOptions(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ @Override public final @NonNull CheckIndexOptions setFlag(@Nullable CheckIndexOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ @Override public final @NonNull CheckIndexOptions setFlag(@Nullable CheckIndexOption e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this CheckIndexOptions. * @return array of enum entries */ @Override public final @NonNull CheckIndexOption @NonNull[] flags(){ return super.flags(CheckIndexOption.values()); } /** * {@inheritDoc} */ @Override public final @NonNull CheckIndexOptions clone(){ return new CheckIndexOptions(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull CheckIndexOptions other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QAbstractItemModel::LayoutChangeHint

*/ public enum LayoutChangeHint implements QtEnumerator { /** *

Representing QAbstractItemModel::NoLayoutChangeHint

*/ NoLayoutChangeHint(0), /** *

Representing QAbstractItemModel::VerticalSortHint

*/ VerticalSortHint(1), /** *

Representing QAbstractItemModel::HorizontalSortHint

*/ HorizontalSortHint(2); static { QtJambi_LibraryUtilities.initialize(); } private LayoutChangeHint(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull LayoutChangeHint resolve(int value) { switch (value) { case 0: return NoLayoutChangeHint; case 1: return VerticalSortHint; case 2: return HorizontalSortHint; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QAbstractItemModel::columnsAboutToBeInserted(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 columnsAboutToBeInserted = new PrivateSignal3<>(); /** *

See QAbstractItemModel::columnsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)

*/ public final @NonNull PrivateSignal5 columnsAboutToBeMoved = new PrivateSignal5<>(); /** *

See QAbstractItemModel::columnsAboutToBeRemoved(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 columnsAboutToBeRemoved = new PrivateSignal3<>(); /** *

See QAbstractItemModel::columnsInserted(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 columnsInserted = new PrivateSignal3<>(); /** *

See QAbstractItemModel::columnsMoved(QModelIndex,int,int,QModelIndex,int)

*/ public final @NonNull PrivateSignal5 columnsMoved = new PrivateSignal5<>(); /** *

See QAbstractItemModel::columnsRemoved(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 columnsRemoved = new PrivateSignal3<>(); /** *

See QAbstractItemModel::dataChanged(QModelIndex,QModelIndex,QList<int>)

*/ public final @NonNull Signal3Default1> dataChanged = new Signal3Default1<>(()->java.util.Collections.emptyList(), (topLeft, bottomRight, roles)->{ QModelIndex topLeftParent = topLeft!=null ? topLeft.parent() : new QModelIndex(); QModelIndex bottomRightParent = bottomRight!=null ? bottomRight.parent() : new QModelIndex(); if(!topLeftParent.equals(bottomRightParent)) throw new IllegalArgumentException("topLeft and bottomRight must not have different parent indexes."); }); /** *

See QAbstractItemModel::headerDataChanged(Qt::Orientation,int,int)

*/ public final @NonNull Signal3 headerDataChanged = new Signal3<>(); /** *

See QAbstractItemModel::layoutAboutToBeChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)

*/ public final @NonNull Signal2Default2, io.qt.core.QAbstractItemModel.@NonNull LayoutChangeHint> layoutAboutToBeChanged = new Signal2Default2<>(()->java.util.Collections.emptyList(), ()->io.qt.core.QAbstractItemModel.LayoutChangeHint.NoLayoutChangeHint); /** *

See QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)

*/ public final @NonNull Signal2Default2, io.qt.core.QAbstractItemModel.@NonNull LayoutChangeHint> layoutChanged = new Signal2Default2<>(()->java.util.Collections.emptyList(), ()->io.qt.core.QAbstractItemModel.LayoutChangeHint.NoLayoutChangeHint); /** *

See QAbstractItemModel::modelAboutToBeReset()

*/ public final @NonNull PrivateSignal0 modelAboutToBeReset = new PrivateSignal0(); /** *

See QAbstractItemModel::modelReset()

*/ public final @NonNull PrivateSignal0 modelReset = new PrivateSignal0(); /** *

See QAbstractItemModel::rowsAboutToBeInserted(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 rowsAboutToBeInserted = new PrivateSignal3<>(); /** *

See QAbstractItemModel::rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)

*/ public final @NonNull PrivateSignal5 rowsAboutToBeMoved = new PrivateSignal5<>(); /** *

See QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 rowsAboutToBeRemoved = new PrivateSignal3<>(); /** *

See QAbstractItemModel::rowsInserted(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 rowsInserted = new PrivateSignal3<>(); /** *

See QAbstractItemModel::rowsMoved(QModelIndex,int,int,QModelIndex,int)

*/ public final @NonNull PrivateSignal5 rowsMoved = new PrivateSignal5<>(); /** *

See QAbstractItemModel::rowsRemoved(QModelIndex,int,int)

*/ public final @NonNull PrivateSignal3 rowsRemoved = new PrivateSignal3<>(); /** *

See QAbstractItemModel::QAbstractItemModel(QObject*)

*/ public QAbstractItemModel(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAbstractItemModel instance, io.qt.core.QObject parent); /** *

See QAbstractItemModel::beginInsertColumns(QModelIndex,int,int)

*/ @QtDeclaredFinal @QtUninvokable protected void beginInsertColumns(io.qt.core.@NonNull QModelIndex parent, int first, int last){ beginInsertColumns_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), first, last); } @QtUninvokable private native void beginInsertColumns_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int first, int last); /** *

See QAbstractItemModel::beginInsertRows(QModelIndex,int,int)

*/ @QtDeclaredFinal @QtUninvokable protected void beginInsertRows(io.qt.core.@NonNull QModelIndex parent, int first, int last){ beginInsertRows_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), first, last); } @QtUninvokable private native void beginInsertRows_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int first, int last); /** *

See QAbstractItemModel::beginMoveColumns(QModelIndex,int,int,QModelIndex,int)

*/ @QtDeclaredFinal @QtUninvokable protected boolean beginMoveColumns(io.qt.core.@NonNull QModelIndex sourceParent, int sourceFirst, int sourceLast, io.qt.core.@NonNull QModelIndex destinationParent, int destinationColumn){ return beginMoveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceFirst, sourceLast, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationColumn); } @QtUninvokable private native boolean beginMoveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceFirst, int sourceLast, long destinationParent, int destinationColumn); /** *

See QAbstractItemModel::beginMoveRows(QModelIndex,int,int,QModelIndex,int)

*/ @QtDeclaredFinal @QtUninvokable protected boolean beginMoveRows(io.qt.core.@NonNull QModelIndex sourceParent, int sourceFirst, int sourceLast, io.qt.core.@NonNull QModelIndex destinationParent, int destinationRow){ return beginMoveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceFirst, sourceLast, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationRow); } @QtUninvokable private native boolean beginMoveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceFirst, int sourceLast, long destinationParent, int destinationRow); /** *

See QAbstractItemModel::beginRemoveColumns(QModelIndex,int,int)

*/ @QtDeclaredFinal @QtUninvokable protected void beginRemoveColumns(io.qt.core.@NonNull QModelIndex parent, int first, int last){ beginRemoveColumns_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), first, last); } @QtUninvokable private native void beginRemoveColumns_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int first, int last); /** *

See QAbstractItemModel::beginRemoveRows(QModelIndex,int,int)

*/ @QtDeclaredFinal @QtUninvokable protected void beginRemoveRows(io.qt.core.@NonNull QModelIndex parent, int first, int last){ beginRemoveRows_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), first, last); } @QtUninvokable private native void beginRemoveRows_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int first, int last); /** *

See QAbstractItemModel::beginResetModel()

*/ @QtDeclaredFinal @QtUninvokable protected void beginResetModel(){ beginResetModel_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void beginResetModel_native(long __this__nativeId); /** *

See QAbstractItemModel::changePersistentIndex(QModelIndex,QModelIndex)

*/ @QtUninvokable protected final void changePersistentIndex(io.qt.core.@NonNull QModelIndex from, io.qt.core.@NonNull QModelIndex to){ changePersistentIndex_native_cref_QModelIndex_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(from), QtJambi_LibraryUtilities.internal.checkedNativeId(to)); } @QtUninvokable private native void changePersistentIndex_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, long from, long to); /** *

See QAbstractItemModel::changePersistentIndexList(QModelIndexList,QModelIndexList)

*/ @QtUninvokable protected final void changePersistentIndexList(java.util.@NonNull Collection from, java.util.@NonNull Collection to){ changePersistentIndexList_native_cref_QList_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), from, to); } @QtUninvokable private native void changePersistentIndexList_native_cref_QList_cref_QList(long __this__nativeId, java.util.Collection from, java.util.Collection to); /** *

See QAbstractItemModel::checkIndex(QModelIndex,QAbstractItemModel::CheckIndexOptions)const

*/ @QtUninvokable public final boolean checkIndex(io.qt.core.@NonNull QModelIndex index, io.qt.core.QAbstractItemModel.@NonNull CheckIndexOptions options){ return checkIndex_native_cref_QModelIndex_QAbstractItemModel_CheckIndexOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), options.value()); } @QtUninvokable private native boolean checkIndex_native_cref_QModelIndex_QAbstractItemModel_CheckIndexOptions_constfct(long __this__nativeId, long index, int options); /** *

See QAbstractItemModel::createIndex(int,int,quintptr)const

*/ @QtUninvokable protected final io.qt.core.@NonNull QModelIndex createIndex(int row, int column, long id){ return createIndex_native_int_int_quintptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, id); } @QtUninvokable private native io.qt.core.QModelIndex createIndex_native_int_int_quintptr_constfct(long __this__nativeId, int row, int column, long id); /** *

See QAbstractItemModel::decodeData(int,int,QModelIndex,QDataStream&)

*/ @QtUninvokable protected final boolean decodeData(int row, int column, io.qt.core.@NonNull QModelIndex parent, io.qt.core.@StrictNonNull QDataStream stream){ java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected."); return decodeData_native_int_int_cref_QModelIndex_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent), QtJambi_LibraryUtilities.internal.checkedNativeId(stream)); } @QtUninvokable private native boolean decodeData_native_int_int_cref_QModelIndex_ref_QDataStream(long __this__nativeId, int row, int column, long parent, long stream); /** *

See QAbstractItemModel::encodeData(QModelIndexList,QDataStream&)const

*/ @QtUninvokable protected final void encodeData(java.util.@NonNull Collection indexes, io.qt.core.@StrictNonNull QDataStream stream){ java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected."); encodeData_native_cref_QList_ref_QDataStream_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), indexes, QtJambi_LibraryUtilities.internal.checkedNativeId(stream)); } @QtUninvokable private native void encodeData_native_cref_QList_ref_QDataStream_constfct(long __this__nativeId, java.util.Collection indexes, long stream); /** *

See QAbstractItemModel::endInsertColumns()

*/ @QtDeclaredFinal @QtUninvokable protected void endInsertColumns(){ endInsertColumns_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endInsertColumns_native(long __this__nativeId); /** *

See QAbstractItemModel::endInsertRows()

*/ @QtDeclaredFinal @QtUninvokable protected void endInsertRows(){ endInsertRows_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endInsertRows_native(long __this__nativeId); /** *

See QAbstractItemModel::endMoveColumns()

*/ @QtUninvokable protected final void endMoveColumns(){ endMoveColumns_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endMoveColumns_native(long __this__nativeId); /** *

See QAbstractItemModel::endMoveRows()

*/ @QtUninvokable protected final void endMoveRows(){ endMoveRows_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endMoveRows_native(long __this__nativeId); /** *

See QAbstractItemModel::endRemoveColumns()

*/ @QtDeclaredFinal @QtUninvokable protected void endRemoveColumns(){ endRemoveColumns_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endRemoveColumns_native(long __this__nativeId); /** *

See QAbstractItemModel::endRemoveRows()

*/ @QtDeclaredFinal @QtUninvokable protected void endRemoveRows(){ endRemoveRows_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endRemoveRows_native(long __this__nativeId); /** *

See QAbstractItemModel::endResetModel()

*/ @QtDeclaredFinal @QtUninvokable protected void endResetModel(){ endResetModel_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void endResetModel_native(long __this__nativeId); /** *

See QAbstractItemModel::hasIndex(int,int,QModelIndex)const

*/ public final boolean hasIndex(int row, int column, io.qt.core.@NonNull QModelIndex parent){ return hasIndex_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean hasIndex_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parent); /** *

See QAbstractItemModel::insertColumn(int,QModelIndex)

*/ public final boolean insertColumn(int column, io.qt.core.@NonNull QModelIndex parent){ return insertColumn_native_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean insertColumn_native_int_cref_QModelIndex(long __this__nativeId, int column, long parent); /** *

See QAbstractItemModel::insertRow(int,QModelIndex)

*/ public final boolean insertRow(int row, io.qt.core.@NonNull QModelIndex parent){ return insertRow_native_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean insertRow_native_int_cref_QModelIndex(long __this__nativeId, int row, long parent); /** *

See QAbstractItemModel::moveColumn(QModelIndex,int,QModelIndex,int)

*/ public final boolean moveColumn(io.qt.core.@NonNull QModelIndex sourceParent, int sourceColumn, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveColumn_native_cref_QModelIndex_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceColumn, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } private native boolean moveColumn_native_cref_QModelIndex_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceColumn, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::moveRow(QModelIndex,int,QModelIndex,int)

*/ public final boolean moveRow(io.qt.core.@NonNull QModelIndex sourceParent, int sourceRow, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveRow_native_cref_QModelIndex_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceRow, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } private native boolean moveRow_native_cref_QModelIndex_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceRow, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::persistentIndexList()const

*/ @QtUninvokable protected final io.qt.core.@NonNull QList persistentIndexList(){ return persistentIndexList_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList persistentIndexList_native_constfct(long __this__nativeId); /** *

See QAbstractItemModel::removeColumn(int,QModelIndex)

*/ public final boolean removeColumn(int column, io.qt.core.@NonNull QModelIndex parent){ return removeColumn_native_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean removeColumn_native_int_cref_QModelIndex(long __this__nativeId, int column, long parent); /** *

See QAbstractItemModel::removeRow(int,QModelIndex)

*/ public final boolean removeRow(int row, io.qt.core.@NonNull QModelIndex parent){ return removeRow_native_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean removeRow_native_int_cref_QModelIndex(long __this__nativeId, int row, long parent); /** *

See QAbstractItemModel::buddy(QModelIndex)const

*/ @QtUninvokable public io.qt.core.@NonNull QModelIndex buddy(io.qt.core.@NonNull QModelIndex index){ return buddy_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QModelIndex buddy_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemModel::canDropMimeData(const QMimeData*,Qt::DropAction,int,int,QModelIndex)const

*/ @QtUninvokable public boolean canDropMimeData(io.qt.core.@StrictNonNull QMimeData data, io.qt.core.Qt.@NonNull DropAction action, int row, int column, io.qt.core.@NonNull QModelIndex parent){ java.util.Objects.requireNonNull(data, "Argument 'data': null not expected."); return canDropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), action.value(), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean canDropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex_constfct(long __this__nativeId, long data, int action, int row, int column, long parent); /** *

See QAbstractItemModel::canFetchMore(QModelIndex)const

*/ public boolean canFetchMore(io.qt.core.@NonNull QModelIndex parent){ return canFetchMore_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean canFetchMore_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::clearItemData(QModelIndex)

*

This function was introduced in Qt 6.0.

*/ @QtUninvokable public boolean clearItemData(io.qt.core.@NonNull QModelIndex index){ return clearItemData_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean clearItemData_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemModel::columnCount(QModelIndex)const

*/ public abstract int columnCount(io.qt.core.@NonNull QModelIndex parent); private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::data(QModelIndex,int)const

*/ public abstract java.lang.Object data(io.qt.core.@NonNull QModelIndex index, int role); private native java.lang.Object data_native_cref_QModelIndex_int_constfct(long __this__nativeId, long index, int role); /** *

See QAbstractItemModel::dropMimeData(const QMimeData*,Qt::DropAction,int,int,QModelIndex)

*/ @QtUninvokable public boolean dropMimeData(io.qt.core.@Nullable QMimeData data, io.qt.core.Qt.@NonNull DropAction action, int row, int column, io.qt.core.@NonNull QModelIndex parent){ return dropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), action.value(), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean dropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex(long __this__nativeId, long data, int action, int row, int column, long parent); /** *

See QAbstractItemModel::fetchMore(QModelIndex)

*/ public void fetchMore(io.qt.core.@NonNull QModelIndex parent){ fetchMore_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native void fetchMore_native_cref_QModelIndex(long __this__nativeId, long parent); /** *

See QAbstractItemModel::flags(QModelIndex)const

*/ public io.qt.core.Qt.@NonNull ItemFlags flags(io.qt.core.@NonNull QModelIndex index){ return new io.qt.core.Qt.ItemFlags(flags_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index))); } private native int flags_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemModel::hasChildren(QModelIndex)const

*/ public boolean hasChildren(io.qt.core.@NonNull QModelIndex parent){ return hasChildren_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean hasChildren_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::headerData(int,Qt::Orientation,int)const

*/ public java.lang.Object headerData(int section, io.qt.core.Qt.@NonNull Orientation orientation, int role){ return headerData_native_int_Qt_Orientation_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), role); } private native java.lang.Object headerData_native_int_Qt_Orientation_int_constfct(long __this__nativeId, int section, int orientation, int role); /** *

See QAbstractItemModel::index(int,int,QModelIndex)const

*/ public abstract io.qt.core.@NonNull QModelIndex index(int row, int column, io.qt.core.@NonNull QModelIndex parent); private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parent); /** *

See QAbstractItemModel::insertColumns(int,int,QModelIndex)

*/ public boolean insertColumns(int column, int count, io.qt.core.@NonNull QModelIndex parent){ return insertColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean insertColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

See QAbstractItemModel::insertRows(int,int,QModelIndex)

*/ public boolean insertRows(int row, int count, io.qt.core.@NonNull QModelIndex parent){ return insertRows_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean insertRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, long parent); /** *

See QAbstractItemModel::itemData(QModelIndex)const

*/ @QtUninvokable public java.util.@NonNull NavigableMap itemData(io.qt.core.@NonNull QModelIndex index){ return itemData_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native java.util.NavigableMap itemData_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemModel::match(QModelIndex,int,QVariant,int,Qt::MatchFlags)const

*/ public java.util.@NonNull List match(io.qt.core.@NonNull QModelIndex start, int role, java.lang.Object value, int hits, io.qt.core.Qt.@NonNull MatchFlags flags){ return match_native_cref_QModelIndex_int_cref_QVariant_int_Qt_MatchFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(start), role, value, hits, flags.value()); } private native java.util.List match_native_cref_QModelIndex_int_cref_QVariant_int_Qt_MatchFlags_constfct(long __this__nativeId, long start, int role, java.lang.Object value, int hits, int flags); /** *

See QAbstractItemModel::mimeData(QModelIndexList)const

*/ @QtUninvokable public io.qt.core.@Nullable QMimeData mimeData(java.util.@NonNull Collection indexes){ return mimeData_native_cref_QList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), indexes); } @QtUninvokable private native io.qt.core.QMimeData mimeData_native_cref_QList_constfct(long __this__nativeId, java.util.Collection indexes); /** *

See QAbstractItemModel::mimeTypes()const

*/ @QtUninvokable public java.util.@NonNull List mimeTypes(){ return mimeTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.util.List mimeTypes_native_constfct(long __this__nativeId); /** *

See QAbstractItemModel::moveColumns(QModelIndex,int,int,QModelIndex,int)

*/ public boolean moveColumns(io.qt.core.@NonNull QModelIndex sourceParent, int sourceColumn, int count, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceColumn, count, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } private native boolean moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceColumn, int count, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::moveRows(QModelIndex,int,int,QModelIndex,int)

*/ public boolean moveRows(io.qt.core.@NonNull QModelIndex sourceParent, int sourceRow, int count, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceRow, count, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } private native boolean moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceRow, int count, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::multiData(QModelIndex,QModelRoleDataSpan)const

*

This function was introduced in Qt 6.0.

*/ @QtUninvokable public void multiData(io.qt.core.@NonNull QModelIndex index, java.util.@NonNull Map roleDataSpan){ multiData_native_cref_QModelIndex_QModelRoleDataSpan_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), roleDataSpan); } @QtUninvokable private native void multiData_native_cref_QModelIndex_QModelRoleDataSpan_constfct(long __this__nativeId, long index, java.util.Map roleDataSpan); /** *

See QAbstractItemModel::parent(QModelIndex)const

*/ public abstract io.qt.core.@NonNull QModelIndex parent(io.qt.core.@NonNull QModelIndex child); private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, long child); /** *

See QAbstractItemModel::removeColumns(int,int,QModelIndex)

*/ public boolean removeColumns(int column, int count, io.qt.core.@NonNull QModelIndex parent){ return removeColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean removeColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

See QAbstractItemModel::removeRows(int,int,QModelIndex)

*/ public boolean removeRows(int row, int count, io.qt.core.@NonNull QModelIndex parent){ return removeRows_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native boolean removeRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, long parent); /** *

See QAbstractItemModel::resetInternalData()

*/ protected void resetInternalData(){ resetInternalData_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void resetInternalData_native(long __this__nativeId); /** *

See QAbstractItemModel::revert()

*/ public void revert(){ revert_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void revert_native(long __this__nativeId); /** *

See QAbstractItemModel::roleNames()const

*/ @QtUninvokable public java.util.@NonNull Map roleNames(){ return roleNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.util.Map roleNames_native_constfct(long __this__nativeId); /** *

See QAbstractItemModel::rowCount(QModelIndex)const

*/ public abstract int rowCount(io.qt.core.@NonNull QModelIndex parent); private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::setData(QModelIndex,QVariant,int)

*/ public boolean setData(io.qt.core.@NonNull QModelIndex index, java.lang.Object value, int role){ return setData_native_cref_QModelIndex_cref_QVariant_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), value, role); } private native boolean setData_native_cref_QModelIndex_cref_QVariant_int(long __this__nativeId, long index, java.lang.Object value, int role); /** *

See QAbstractItemModel::setHeaderData(int,Qt::Orientation,QVariant,int)

*/ @QtUninvokable public boolean setHeaderData(int section, io.qt.core.Qt.@NonNull Orientation orientation, java.lang.Object value, int role){ return setHeaderData_native_int_Qt_Orientation_cref_QVariant_int(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), value, role); } @QtUninvokable private native boolean setHeaderData_native_int_Qt_Orientation_cref_QVariant_int(long __this__nativeId, int section, int orientation, java.lang.Object value, int role); /** *

See QAbstractItemModel::setItemData(QModelIndex,QMap<int,QVariant>)

*/ @QtUninvokable public boolean setItemData(io.qt.core.@NonNull QModelIndex index, java.util.@NonNull Map roles){ return setItemData_native_cref_QModelIndex_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), roles); } @QtUninvokable private native boolean setItemData_native_cref_QModelIndex_cref_QMap(long __this__nativeId, long index, java.util.Map roles); /** *

See QAbstractItemModel::sibling(int,int,QModelIndex)const

*/ public io.qt.core.@NonNull QModelIndex sibling(int row, int column, io.qt.core.@NonNull QModelIndex idx){ return sibling_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(idx)); } private native io.qt.core.QModelIndex sibling_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long idx); /** *

See QAbstractItemModel::sort(int,Qt::SortOrder)

*/ public void sort(int column, io.qt.core.Qt.@NonNull SortOrder order){ sort_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value()); } private native void sort_native_int_Qt_SortOrder(long __this__nativeId, int column, int order); /** *

See QAbstractItemModel::span(QModelIndex)const

*/ @QtUninvokable public io.qt.core.@NonNull QSize span(io.qt.core.@NonNull QModelIndex index){ return span_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QSize span_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemModel::submit()

*/ public boolean submit(){ return submit_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native boolean submit_native(long __this__nativeId); /** *

See QAbstractItemModel::supportedDragActions()const

*/ @QtUninvokable public io.qt.core.Qt.@NonNull DropActions supportedDragActions(){ return new io.qt.core.Qt.DropActions(supportedDragActions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int supportedDragActions_native_constfct(long __this__nativeId); /** *

See QAbstractItemModel::supportedDropActions()const

*/ @QtUninvokable public io.qt.core.Qt.@NonNull DropActions supportedDropActions(){ return new io.qt.core.Qt.DropActions(supportedDropActions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int supportedDropActions_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAbstractItemModel(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAbstractItemModel(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAbstractItemModel instance, QDeclarativeConstructor constructor); /** *

See QAbstractItemModel::setData(QModelIndex,QVariant,int)

*/ @QtUninvokable public final boolean setData(int row, int col, @Nullable Object value) { return setData(this.index(row, col), value, io.qt.core.Qt.ItemDataRole.DisplayRole); } /** *

See QAbstractItemModel::setData(QModelIndex,QVariant,int)

*/ @QtUninvokable public final boolean setData(int row, int col, @Nullable Object value, int role) { return setData(this.index(row, col), value, role); } /** *

See QAbstractItemModel::data(QModelIndex,int)const

*/ @QtUninvokable public final @Nullable Object data(int row, int col) { return data(this.index(row, col), Qt.ItemDataRole.DisplayRole); } /** *

See QAbstractItemModel::data(QModelIndex,int)

*/ @QtUninvokable public final @Nullable Object data(int row, int col, int role) { return data(this.index(row, col), role); } /** *

See QAbstractItemModel::createIndex(int,int,quintptr)

*/ @QtUninvokable protected final io.qt.core.QModelIndex createIndex(int row, int column){ return createIndex(row, column, 0); } /** *

Overloaded constructor for {@link #QAbstractItemModel(io.qt.core.QObject)} * with parent = null.

*/ public QAbstractItemModel() { this((io.qt.core.QObject)null); } /** *

Overloaded function for {@link #checkIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)} * with options = new io.qt.core.QAbstractItemModel.CheckIndexOptions(0).

*/ @QtUninvokable public final boolean checkIndex(io.qt.core.@NonNull QModelIndex index) { return checkIndex(index, new io.qt.core.QAbstractItemModel.CheckIndexOptions(0)); } /** *

Overloaded function for {@link #checkIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)}.

*/ @QtUninvokable public final boolean checkIndex(io.qt.core.@NonNull QModelIndex index, io.qt.core.QAbstractItemModel.@NonNull CheckIndexOption @NonNull... options) { return checkIndex(index, new io.qt.core.QAbstractItemModel.CheckIndexOptions(options)); } /** *

Overloaded function for {@link #hasIndex(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean hasIndex(int row, int column) { return hasIndex(row, column, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #insertColumn(int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean insertColumn(int column) { return insertColumn(column, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #insertRow(int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean insertRow(int row) { return insertRow(row, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #removeColumn(int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean removeColumn(int column) { return removeColumn(column, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #removeRow(int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean removeRow(int row) { return removeRow(row, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #columnCount(io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final int columnCount() { return columnCount(new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #data(io.qt.core.QModelIndex, int)} * with role = 0.

*/ public final java.lang.Object data(io.qt.core.@NonNull QModelIndex index) { return data(index, (int)0); } /** *

Overloaded function for {@link #hasChildren(io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean hasChildren() { return hasChildren(new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #headerData(int, io.qt.core.Qt.Orientation, int)} * with role = 0.

*/ public final java.lang.Object headerData(int section, io.qt.core.Qt.@NonNull Orientation orientation) { return headerData(section, orientation, (int)0); } /** *

Overloaded function for {@link #index(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final io.qt.core.@NonNull QModelIndex index(int row, int column) { return index(row, column, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #insertColumns(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean insertColumns(int column, int count) { return insertColumns(column, count, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #insertRows(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean insertRows(int row, int count) { return insertRows(row, count, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)} * with flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap).

*/ public final java.util.@NonNull List match(io.qt.core.@NonNull QModelIndex start, int role, java.lang.Object value, int hits) { return match(start, role, value, hits, new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)); } /** *

Overloaded function for {@link #match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)}

*

with:

    *
  • hits = 1
  • *
  • flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)
  • *
*/ public final java.util.@NonNull List match(io.qt.core.@NonNull QModelIndex start, int role, java.lang.Object value) { return match(start, role, value, (int)1, new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)); } /** *

Overloaded function for {@link #match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)}.

*/ public final java.util.@NonNull List match(io.qt.core.@NonNull QModelIndex start, int role, java.lang.Object value, int hits, io.qt.core.Qt.@NonNull MatchFlag @NonNull... flags) { return match(start, role, value, hits, new io.qt.core.Qt.MatchFlags(flags)); } /** *

Overloaded function for {@link #removeColumns(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean removeColumns(int column, int count) { return removeColumns(column, count, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #removeRows(int, int, io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final boolean removeRows(int row, int count) { return removeRows(row, count, new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #rowCount(io.qt.core.QModelIndex)} * with parent = new io.qt.core.QModelIndex().

*/ public final int rowCount() { return rowCount(new io.qt.core.QModelIndex()); } /** *

Overloaded function for {@link #setData(io.qt.core.QModelIndex, java.lang.Object, int)} * with role = 2.

*/ public final boolean setData(io.qt.core.@NonNull QModelIndex index, java.lang.Object value) { return setData(index, value, (int)2); } /** *

Overloaded function for {@link #setHeaderData(int, io.qt.core.Qt.Orientation, java.lang.Object, int)} * with role = 2.

*/ @QtUninvokable public final boolean setHeaderData(int section, io.qt.core.Qt.@NonNull Orientation orientation, java.lang.Object value) { return setHeaderData(section, orientation, value, (int)2); } /** *

Overloaded function for {@link #sort(int, io.qt.core.Qt.SortOrder)} * with order = io.qt.core.Qt.SortOrder.AscendingOrder.

*/ public final void sort(int column) { sort(column, io.qt.core.Qt.SortOrder.AscendingOrder); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy