io.qt.core.QTransposeProxyModel Maven / Gradle / Ivy
package io.qt.core;
/**
* This proxy transposes the source model
* Java wrapper for Qt class QTransposeProxyModel
*/
public class QTransposeProxyModel extends io.qt.core.QAbstractProxyModel
{
@io.qt.QtPropertyMember(enabled=false)
private Object __rcSourceModel = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTransposeProxyModel.class);
/**
* Overloaded constructor for {@link #QTransposeProxyModel(io.qt.core.QObject)}
* with parent = null
.
*/
public QTransposeProxyModel() {
this((io.qt.core.QObject)null);
}
/**
* See QTransposeProxyModel::QTransposeProxyModel(QObject*)
*/
public QTransposeProxyModel(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTransposeProxyModel instance, io.qt.core.QObject parent);
/**
* See QAbstractItemModel::columnCount(QModelIndex)const
*/
@io.qt.QtUninvokable
public int columnCount(io.qt.core.QModelIndex parent){
return columnCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::headerData(int,Qt::Orientation,int)const
*/
@io.qt.QtUninvokable
public java.lang.Object headerData(int section, io.qt.core.Qt.Orientation orientation, int role){
return headerData_native_int_Qt_Orientation_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), role);
}
@io.qt.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
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex index(int row, int column, io.qt.core.QModelIndex parent){
return index_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, parent);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::insertColumns(int,int,QModelIndex)
*/
@io.qt.QtUninvokable
public boolean insertColumns(int column, int count, io.qt.core.QModelIndex parent){
return insertColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, parent);
}
@io.qt.QtUninvokable
private native boolean insertColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::insertRows(int,int,QModelIndex)
*/
@io.qt.QtUninvokable
public boolean insertRows(int row, int count, io.qt.core.QModelIndex parent){
return insertRows_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, count, parent);
}
@io.qt.QtUninvokable
private native boolean insertRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::itemData(QModelIndex)const
*/
@io.qt.QtUninvokable
public java.util.NavigableMap itemData(io.qt.core.QModelIndex index){
return itemData_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.util.NavigableMap itemData_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractProxyModel::mapFromSource(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex mapFromSource(io.qt.core.QModelIndex sourceIndex){
return mapFromSource_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sourceIndex);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex mapFromSource_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex sourceIndex);
/**
* See QAbstractProxyModel::mapToSource(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex mapToSource(io.qt.core.QModelIndex proxyIndex){
return mapToSource_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), proxyIndex);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex mapToSource_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex proxyIndex);
/**
* See QAbstractItemModel::moveColumns(QModelIndex,int,int,QModelIndex,int)
*/
@io.qt.QtUninvokable
public boolean moveColumns(io.qt.core.QModelIndex sourceParent, int sourceColumn, int count, io.qt.core.QModelIndex destinationParent, int destinationChild){
return moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), sourceParent, sourceColumn, count, destinationParent, destinationChild);
}
@io.qt.QtUninvokable
private native boolean moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, io.qt.core.QModelIndex sourceParent, int sourceColumn, int count, io.qt.core.QModelIndex destinationParent, int destinationChild);
/**
* See QAbstractItemModel::moveRows(QModelIndex,int,int,QModelIndex,int)
*/
@io.qt.QtUninvokable
public boolean moveRows(io.qt.core.QModelIndex sourceParent, int sourceRow, int count, io.qt.core.QModelIndex destinationParent, int destinationChild){
return moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), sourceParent, sourceRow, count, destinationParent, destinationChild);
}
@io.qt.QtUninvokable
private native boolean moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, io.qt.core.QModelIndex sourceParent, int sourceRow, int count, io.qt.core.QModelIndex destinationParent, int destinationChild);
/**
* See QAbstractItemModel::parent(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex parent(io.qt.core.QModelIndex index){
return parent_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemModel::removeColumns(int,int,QModelIndex)
*/
@io.qt.QtUninvokable
public boolean removeColumns(int column, int count, io.qt.core.QModelIndex parent){
return removeColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, parent);
}
@io.qt.QtUninvokable
private native boolean removeColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::removeRows(int,int,QModelIndex)
*/
@io.qt.QtUninvokable
public boolean removeRows(int row, int count, io.qt.core.QModelIndex parent){
return removeRows_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), row, count, parent);
}
@io.qt.QtUninvokable
private native boolean removeRows_native_int_int_cref_QModelIndex(long __this__nativeId, int row, int count, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::rowCount(QModelIndex)const
*/
@io.qt.QtUninvokable
public int rowCount(io.qt.core.QModelIndex parent){
return rowCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::setHeaderData(int,Qt::Orientation,QVariant,int)
*/
@io.qt.QtUninvokable
public boolean setHeaderData(int section, io.qt.core.Qt.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);
}
@io.qt.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>)
*/
@io.qt.QtUninvokable
public boolean setItemData(io.qt.core.QModelIndex index, java.util.Map roles){
return setItemData_native_cref_QModelIndex_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), index, roles);
}
@io.qt.QtUninvokable
private native boolean setItemData_native_cref_QModelIndex_cref_QMap(long __this__nativeId, io.qt.core.QModelIndex index, java.util.Map roles);
/**
* See QAbstractProxyModel::setSourceModel(QAbstractItemModel*)
*/
@io.qt.QtUninvokable
public void setSourceModel(io.qt.core.QAbstractItemModel newSourceModel){
setSourceModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newSourceModel));
__rcSourceModel = newSourceModel;
}
@io.qt.QtUninvokable
private native void setSourceModel_native_QAbstractItemModel_ptr(long __this__nativeId, long newSourceModel);
/**
* See QAbstractItemModel::sort(int,Qt::SortOrder)
*/
@io.qt.QtUninvokable
public void sort(int column, io.qt.core.Qt.SortOrder order){
sort_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value());
}
@io.qt.QtUninvokable
private native void sort_native_int_Qt_SortOrder(long __this__nativeId, int column, int order);
/**
* See QAbstractItemModel::span(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize span(io.qt.core.QModelIndex index){
return span_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QSize span_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTransposeProxyModel(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QTransposeProxyModel(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QTransposeProxyModel instance, QDeclarativeConstructor constructor);
}