Qt Jambi Home

com.trolltech.qt.gui
Class QTreeModel

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.core.QObject
              extended by com.trolltech.qt.core.QAbstractItemModel
                  extended by com.trolltech.qt.gui.QTreeModel
All Implemented Interfaces:
QtJambiInterface

public abstract class QTreeModel
extends QAbstractItemModel


Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
 
Field Summary
 
Fields inherited from class com.trolltech.qt.core.QAbstractItemModel
dataChanged, headerDataChanged, layoutAboutToBeChanged, layoutChanged
 
Method Summary
 int columnCount(QModelIndex arg__1)
          This function is reimplemented for internal reasons.
 java.lang.Object data(java.lang.Object value, int role)
          Returns the data stored under the given role for the item referred to by the value.
 java.lang.Object data(QModelIndex index, int role)
          This function is reimplemented for internal reasons.
static QTreeModel fromNativePointer(QNativePointer nativePointer)
          This function returns the QTreeModel instance pointed to by nativePointer
 QModelIndex index(int row, int arg__2, QModelIndex parent)
          This function is reimplemented for internal reasons.
 QModelIndex parent(QModelIndex index)
          This function is reimplemented for internal reasons.
 int rowCount(QModelIndex parent)
          This function is reimplemented for internal reasons.
 
Methods inherited from class com.trolltech.qt.core.QAbstractItemModel
beginInsertColumns, beginInsertRows, beginRemoveColumns, beginRemoveRows, buddy, canFetchMore, changePersistentIndex, changePersistentIndexList, columnCount, createIndex, createIndex, createIndex, data, data, data, decodeData, dropMimeData, encodeData, endInsertColumns, endInsertRows, endRemoveColumns, endRemoveRows, fetchMore, flags, hasChildren, hasChildren, hasIndex, hasIndex, headerData, headerData, index, insertColumn, insertColumn, insertColumns, insertColumns, insertRow, insertRow, insertRows, insertRows, itemData, match, match, match, match, mimeData, mimeTypes, persistentIndexList, removeColumn, removeColumn, removeColumns, removeColumns, removeRow, removeRow, removeRows, removeRows, reset, revert, rowCount, setData, setData, setData, setData, setHeaderData, setHeaderData, setItemData, setSupportedDragActions, setSupportedDragActions, sibling, sort, sort, span, submit, supportedDragActions, supportedDropActions
 
Methods inherited from class com.trolltech.qt.core.QObject
blockSignals, childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, property, removeEventFilter, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
disconnect, disconnect, signalSender
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Method Detail

columnCount

public int columnCount(QModelIndex arg__1)

This function is reimplemented for internal reasons.

Specified by:
columnCount in class QAbstractItemModel
See Also:
rowCount

data

public java.lang.Object data(java.lang.Object value,
                             int role)

Returns the data stored under the given role for the item referred to by the value.

See Also:
Qt::ItemDataRole, setData, headerData

data

public java.lang.Object data(QModelIndex index,
                             int role)

This function is reimplemented for internal reasons.

Specified by:
data in class QAbstractItemModel
See Also:
Qt::ItemDataRole, setData, headerData

index

public QModelIndex index(int row,
                         int arg__2,
                         QModelIndex parent)

This function is reimplemented for internal reasons.

Specified by:
index in class QAbstractItemModel
See Also:
createIndex

parent

public QModelIndex parent(QModelIndex index)

This function is reimplemented for internal reasons.

Specified by:
parent in class QAbstractItemModel
See Also:
createIndex

rowCount

public int rowCount(QModelIndex parent)

This function is reimplemented for internal reasons.

Specified by:
rowCount in class QAbstractItemModel
See Also:
columnCount

fromNativePointer

public static QTreeModel fromNativePointer(QNativePointer nativePointer)
This function returns the QTreeModel instance pointed to by nativePointer

Parameters:
nativePointer - the QNativePointer of which object should be returned.

Qt Jambi Home