4package org.qtproject.qt.android;
6import java.util.HashMap;
200 @SuppressWarnings(
"unchecked")
203 return (HashMap<Integer, String>)jni_roleNames();
264 jni_dataChanged(topLeft, bottomRight, roles);
285 m_OnDataChangedListener = listener;
346 int destinationChild)
348 return jni_beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent,
386 int destinationChild)
388 return jni_beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent,
528 if (m_OnDataChangedListener !=
null) {
530 if (m_OnDataChangedListener !=
null)
531 m_OnDataChangedListener.
onDataChanged(topLeft, bottomRight, roles);
535 private native
void jni_beginInsertColumns(QtModelIndex
parent,
int first,
int last);
536 private native
void jni_beginInsertRows(QtModelIndex
parent,
int first,
int last);
537 private native
boolean jni_beginMoveColumns(QtModelIndex sourceParent,
int sourceFirst,
538 int sourceLast, QtModelIndex destinationParent,
539 int destinationChild);
540 private native
boolean jni_beginMoveRows(QtModelIndex sourceParent,
int sourceFirst,
541 int sourceLast, QtModelIndex destinationParent,
542 int destinationChild);
543 private native
void jni_beginRemoveColumns(QtModelIndex
parent,
int first,
int last);
544 private native
void jni_beginRemoveRows(QtModelIndex
parent,
int first,
int last);
545 private native
void jni_beginResetModel();
547 private native
void jni_endInsertColumns();
548 private native
void jni_endInsertRows();
549 private native
void jni_endMoveColumns();
550 private native
void jni_endMoveRows();
551 private native
void jni_endRemoveColumns();
552 private native
void jni_endRemoveRows();
553 private native
void jni_endResetModel();
554 private native
Object jni_roleNames();
556 private native
boolean jni_setData(QtModelIndex
index,
Object value,
int role);
557 private native
void jni_dataChanged(QtModelIndex topLeft, QtModelIndex bottomRight,
560 private long m_nativeReference = 0;
561 private OnDataChangedListener m_OnDataChangedListener;
563 private void detachFromNative() { m_nativeReference = 0; }
565 private long nativeReference() {
return m_nativeReference; }
566 private void setNativeReference(
long nativeReference) { m_nativeReference = nativeReference; }
final boolean beginMoveColumns(QtModelIndex sourceParent, int sourceFirst, int sourceLast, QtModelIndex destinationParent, int destinationChild)
abstract QtModelIndex parent(QtModelIndex index)
final void endMoveColumns()
final void endResetModel()
final void endRemoveColumns()
final void beginResetModel()
native boolean canFetchMore(QtModelIndex parent)
final void beginRemoveColumns(QtModelIndex parent, int first, int last)
abstract int rowCount(QtModelIndex parent)
void dataChanged(QtModelIndex topLeft, QtModelIndex bottomRight, int[] roles)
native boolean hasIndex(int row, int column, QtModelIndex parent)
abstract Object data(QtModelIndex index, int role)
void setOnDataChangedListener(OnDataChangedListener listener)
abstract QtModelIndex index(int row, int column, QtModelIndex parent)
native boolean hasChildren(QtModelIndex parent)
final QtModelIndex createIndex(int row, int column, long id)
final void beginRemoveRows(QtModelIndex parent, int first, int last)
boolean setData(QtModelIndex index, Object value, int role)
final void endRemoveRows()
native void fetchMore(QtModelIndex parent)
final void beginInsertColumns(QtModelIndex parent, int first, int last)
HashMap< Integer, String > roleNames()
QtModelIndex sibling(int row, int column, QtModelIndex parent)
final void endInsertColumns()
final boolean beginMoveRows(QtModelIndex sourceParent, int sourceFirst, int sourceLast, QtModelIndex destinationParent, int destinationChild)
final void beginInsertRows(QtModelIndex parent, int first, int last)
abstract int columnCount(QtModelIndex parent)
final void endInsertRows()
void onDataChanged(QtModelIndex topLeft, QtModelIndex bottomRight, int[] roles)
[vector_of_multirole_objects_0]
EGLOutputLayerEXT EGLint EGLAttrib value
[3]
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row