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

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

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

import io.qt.*;


/**
 * 

Proxies its source model unmodified

*

Java wrapper for Qt class QIdentityProxyModel

*/ public class QIdentityProxyModel extends io.qt.core.QAbstractProxyModel { @QtPropertyMember(enabled=false) private Object __rcSourceModel = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QIdentityProxyModel.class); /** *

See QIdentityProxyModel::QIdentityProxyModel(QObject*)

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

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::dropMimeData(const QMimeData*,Qt::DropAction,int,int,QModelIndex)

*/ @QtUninvokable @Override 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::headerData(int,Qt::Orientation,int)const

*/ @QtUninvokable @Override 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); } @QtUninvokable 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

*/ @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::insertColumns(int,int,QModelIndex)

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native boolean insertColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

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

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native boolean insertRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, long parent); /** *

See QAbstractProxyModel::mapFromSource(QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex mapFromSource(io.qt.core.@NonNull QModelIndex sourceIndex){ return mapFromSource_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceIndex)); } @QtUninvokable private native io.qt.core.QModelIndex mapFromSource_native_cref_QModelIndex_constfct(long __this__nativeId, long sourceIndex); /** *

See QAbstractProxyModel::mapSelectionFromSource(QItemSelection)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QItemSelection mapSelectionFromSource(io.qt.core.@NonNull QItemSelection selection){ return mapSelectionFromSource_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @QtUninvokable private native io.qt.core.QItemSelection mapSelectionFromSource_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); /** *

See QAbstractProxyModel::mapSelectionToSource(QItemSelection)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QItemSelection mapSelectionToSource(io.qt.core.@NonNull QItemSelection selection){ return mapSelectionToSource_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @QtUninvokable private native io.qt.core.QItemSelection mapSelectionToSource_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); /** *

See QAbstractProxyModel::mapToSource(QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex mapToSource(io.qt.core.@NonNull QModelIndex proxyIndex){ return mapToSource_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(proxyIndex)); } @QtUninvokable private native io.qt.core.QModelIndex mapToSource_native_cref_QModelIndex_constfct(long __this__nativeId, long proxyIndex); /** *

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

*/ @QtUninvokable @Override 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()); } @QtUninvokable 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::moveColumns(QModelIndex,int,int,QModelIndex,int)

*/ @QtUninvokable @Override 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); } @QtUninvokable 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)

*/ @QtUninvokable @Override 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); } @QtUninvokable 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::parent(QModelIndex)const

*/ @QtUninvokable @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)); } @QtUninvokable private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, long child); /** *

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

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native boolean removeColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

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

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native boolean removeRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, long parent); /** *

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); /** *

See QAbstractProxyModel::setSourceModel(QAbstractItemModel*)

*/ @QtUninvokable @Override public void setSourceModel(io.qt.core.@Nullable QAbstractItemModel sourceModel){ setSourceModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceModel)); __rcSourceModel = sourceModel; } @QtUninvokable private native void setSourceModel_native_QAbstractItemModel_ptr(long __this__nativeId, long sourceModel); /** *

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

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native io.qt.core.QModelIndex sibling_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long idx); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QIdentityProxyModel(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QIdentityProxyModel(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QIdentityProxyModel instance, QDeclarativeConstructor constructor); /** *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy