Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1891

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QAbstractItemModel" doc="/**
&lt;p&gt;The &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; class provides the abstract interface for item model classes.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; class defines the standard interface that item models must use to be able to interoperate with other components in the model/view architecture. It is not supposed to be instantiated directly. Instead, you should subclass it to create new models.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; class is one of the &lt;a href=&quot;%2E%2E/qt4-interview.html#model-view-classes&quot;&gt;Model/View Classes&lt;/tt&gt;&lt;/a&gt; and is part of Qt's &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;model/view framework&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you need a model to use with a &lt;a href=&quot;%2E%2E/gui/QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; or a &lt;a href=&quot;%2E%2E/gui/QTableView.html&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt;, you should consider subclassing &lt;a href=&quot;QAbstractListModel.html&quot;&gt;&lt;tt&gt;QAbstractListModel&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;%2E%2E/gui/QAbstractTableModel.html&quot;&gt;&lt;tt&gt;QAbstractTableModel&lt;/tt&gt;&lt;/a&gt; instead of this class.&lt;/p&gt;
&lt;p&gt;The underlying data model is exposed to views and delegates as a hierarchy of tables. If you don't make use of the hierarchy, then the model is a simple table of rows and columns. Each item has a unique index specified by a QModelIndex.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/modelindex-no-parent.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;Every item of data that can be accessed via a model has an associated model index that is obtained using the &lt;a href=&quot;QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;index&lt;/tt&gt;&lt;/a&gt; function. Each index may have a &lt;a href=&quot;QAbstractItemModel.html#sibling(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;sibling&lt;/tt&gt;&lt;/a&gt; index; child items have a &lt;a href=&quot;QAbstractItemModel.html#parent(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt; index.&lt;/p&gt;
&lt;p&gt;Each item has a number of data elements associated with it, and each of these can be retrieved by specifying a role (see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;) to the model's &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; function. Data for all available roles can be obtained at the same time using the &lt;a href=&quot;QAbstractItemModel.html#itemData(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemData&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;Data for each role is set using a particular &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;. Data for individual roles are set individually with &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;, or they can be set for all roles with &lt;a href=&quot;QAbstractItemModel.html#setItemData(com.trolltech.qt.core.QModelIndex, java.lang.Object&gt;)&quot;&gt;&lt;tt&gt;setItemData&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Items can be queried with &lt;a href=&quot;QAbstractItemModel.html#flags(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt; (see &lt;tt&gt;Qt::ItemFlag&lt;/tt&gt;) to see if they can be selected, dragged, or manipulated in other ways.&lt;/p&gt;
&lt;p&gt;If an item has child objects, &lt;a href=&quot;QAbstractItemModel.html#hasChildren(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;hasChildren&lt;/tt&gt;&lt;/a&gt; returns true for the corresponding index.&lt;/p&gt;
&lt;p&gt;The model has a &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; and a &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; for each level of the hierarchy. Rows and columns can be inserted and removed with &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The model emits signals to indicate changes. For example, &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; is emitted whenever items of data made available by the model are changed. Changes to the headers supplied by the model cause &lt;a href=&quot;QAbstractItemModel.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt; to be emitted. If the structure of the underlying data changes, the model can emit &lt;a href=&quot;QAbstractItemModel.html#layoutChanged()&quot;&gt;&lt;tt&gt;layoutChanged&lt;/tt&gt;&lt;/a&gt; to indicate to any attached views that they should redisplay any items shown, taking the new structure into account.&lt;/p&gt;
&lt;p&gt;The items available through the model can be searched for particular data using the &lt;a href=&quot;QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;&lt;tt&gt;match&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;If the model is sortable, it can be sorted with &lt;a href=&quot;QAbstractItemModel.html#sort(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sort&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;a name=&quot;subclassing&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Subclassing&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Some general guidelines for subclassing models are available in the &lt;a href=&quot;%2E%2E/model-view-model-subclassing.html&quot;&gt;Model Subclassing Reference&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When subclassing &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt;, at the very least you must implement &lt;a href=&quot;QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;index&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#parent(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt;. These functions are used in all read-only models, and form the basis of editable models.&lt;/p&gt;
&lt;p&gt;You can also reimplement &lt;a href=&quot;QAbstractItemModel.html#hasChildren(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;hasChildren&lt;/tt&gt;&lt;/a&gt; to provide special behavior for models where the implementation of &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; is expensive. This makes it possible for models to restrict the amount of data requested by views, and can be used as a way to implement lazy population of model data.&lt;/p&gt;
&lt;p&gt;To enable editing in your model, you must also implement &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;, and reimplement &lt;a href=&quot;QAbstractItemModel.html#flags(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt; to ensure that &lt;tt&gt;ItemIsEditable&lt;/tt&gt; is returned. You can also reimplement &lt;a href=&quot;QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)&quot;&gt;&lt;tt&gt;headerData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt; to control the way the headers for your model are presented.&lt;/p&gt;
&lt;p&gt;Note that the &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemModel.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt; signals must be emitted explicitly when reimplementing the &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt; functions, respectively.&lt;/p&gt;
&lt;p&gt;Custom models need to create model indexes for other components to use. To do this, call &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt; with suitable row and column numbers for the item, and an identifier for it, either as a pointer or as an integer value. The combination of these values must be unique for each item. Custom models typically use these unique identifiers in other reimplemented functions to retrieve item data and access information about the item's parents and children. See the Simple Tree Model&lt;/tt&gt; example for more information about unique identifiers.&lt;/p&gt;
&lt;p&gt;It is not necessary to support every role defined in Qt::ItemDataRole. Depending on the type of data contained within a model, it may only be useful to implement the &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; function to return valid information for some of the more common roles. Most models provide at least a textual representation of item data for the Qt::DisplayRole, and well-behaved models should also provide valid information for the Qt::ToolTipRole and Qt::WhatsThisRole. Supporting these roles enables models to be used with standard Qt views. However, for some models that handle highly-specialized data, it may be appropriate to provide data only for user-defined roles.&lt;/p&gt;
&lt;p&gt;Models that provide interfaces to resizable data structures can provide implementations of &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;. When implementing these functions, it is important to notify any connected views about changes to the model's dimensions both &lt;i&gt;before&lt;/i&gt; and &lt;i&gt;after&lt;/i&gt; they occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt; implementation must call &lt;a href=&quot;QAbstractItemModel.html#beginInsertRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertRows&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;before&lt;/i&gt; inserting new rows into the data structure, and it must call &lt;a href=&quot;QAbstractItemModel.html#endInsertRows()&quot;&gt;&lt;tt&gt;endInsertRows&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;immediately afterwards&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;An &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt; implementation must call &lt;a href=&quot;QAbstractItemModel.html#beginInsertColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertColumns&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;before&lt;/i&gt; inserting new columns into the data structure, and it must call &lt;a href=&quot;QAbstractItemModel.html#endInsertColumns()&quot;&gt;&lt;tt&gt;endInsertColumns&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;immediately afterwards&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;A &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt; implementation must call &lt;a href=&quot;QAbstractItemModel.html#beginRemoveRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveRows&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;before&lt;/i&gt; the rows are removed from the data structure, and it must call &lt;a href=&quot;QAbstractItemModel.html#endRemoveRows()&quot;&gt;&lt;tt&gt;endRemoveRows&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;immediately afterwards&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;A &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt; implementation must call &lt;a href=&quot;QAbstractItemModel.html#beginRemoveColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveColumns&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;before&lt;/i&gt; the columns are removed from the data structure, and it must call &lt;a href=&quot;QAbstractItemModel.html#endRemoveColumns()&quot;&gt;&lt;tt&gt;endRemoveColumns&lt;/tt&gt;&lt;/a&gt; &lt;i&gt;immediately afterwards&lt;/i&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;i&gt;private&lt;/i&gt; signals that these functions emit give attached components the chance to take action before any data becomes unavailable. The encapsulation of the insert and remove operations with these begin and end functions also enables the model to manage &lt;a href=&quot;QPersistentModelIndex.html&quot;&gt;persistent model indexes&lt;/tt&gt;&lt;/a&gt; correctly. &lt;b&gt;If you want selections to be handled properly, you must ensure that you call these functions.&lt;/b&gt;&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/model-view-model.html&quot;&gt;Model Classes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-model-subclassing.html&quot;&gt;Model Subclassing Reference&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QModelIndex&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/gui/QAbstractItemView.html&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt;
@see Simple DOM Model Example&lt;/tt&gt;
@see Simple Tree Model Example&lt;/tt&gt; */">
    <signal name="protected final void dataChanged(com.trolltech.qt.core.QModelIndex topLeft, com.trolltech.qt.core.QModelIndex bottomRight)" doc="/**
&lt;p&gt;This signal is emitted whenever the data in an existing item changes. The affected items are those between &lt;tt&gt;topLeft&lt;/tt&gt; and &lt;tt&gt;bottomRight&lt;/tt&gt; inclusive (of the same parent).&lt;/p&gt;
&lt;p&gt;Note that this signal must be emitted explicitly when reimplementing the &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex topLeft, com.trolltech.qt.core.QModelIndex bottomRight)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex topLeft)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractItemModel.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#layoutChanged()&quot;&gt;&lt;tt&gt;layoutChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void headerDataChanged(com.trolltech.qt.core.Qt.Orientation orientation, int first, int last)" doc="/**
&lt;p&gt;This signal is emitted whenever a header is changed. The &lt;tt&gt;orientation&lt;/tt&gt; indicates whether the horizontal or vertical header has changed. The sections in the header from the &lt;tt&gt;first&lt;/tt&gt; to the &lt;tt&gt;last&lt;/tt&gt; need to be updated.&lt;/p&gt;
&lt;p&gt;Note that this signal must be emitted explicitly when reimplementing the &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;If you are changing the number of columns or rows you don't need to emit this signal, but use the begin/end functions.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.Orientation orientation, int first, int last)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.Orientation orientation, int first)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.Orientation orientation)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)&quot;&gt;&lt;tt&gt;headerData&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void layoutAboutToBeChanged()" doc="/**
&lt;p&gt;This signal is emitted just before the layout of a model is changed. Components connected to this signal use it to adapt to changes in the model's layout.&lt;/p&gt;
&lt;p&gt;Subclasses should update any persistent model indexes after emitting &lt;a href=&quot;QAbstractItemModel.html#layoutAboutToBeChanged()&quot;&gt;&lt;tt&gt;layoutAboutToBeChanged&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractItemModel.html#layoutChanged()&quot;&gt;&lt;tt&gt;layoutChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#changePersistentIndex(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;changePersistentIndex&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void layoutChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the layout of items exposed by the model has changed; for example, when the model has been sorted. When this signal is received by a view, it should update the layout of items to reflect this change.&lt;/p&gt;
&lt;p&gt;When subclassing &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;%2E%2E/gui/QAbstractProxyModel.html&quot;&gt;&lt;tt&gt;QAbstractProxyModel&lt;/tt&gt;&lt;/a&gt;, ensure that you emit &lt;a href=&quot;QAbstractItemModel.html#layoutAboutToBeChanged()&quot;&gt;&lt;tt&gt;layoutAboutToBeChanged&lt;/tt&gt;&lt;/a&gt; before changing the order of items or altering the structure of the data you expose to views, and emit &lt;a href=&quot;QAbstractItemModel.html#layoutChanged()&quot;&gt;&lt;tt&gt;layoutChanged&lt;/tt&gt;&lt;/a&gt; after changing the layout.&lt;/p&gt;
&lt;p&gt;Subclasses should update any persistent model indexes before emitting &lt;a href=&quot;QAbstractItemModel.html#layoutChanged()&quot;&gt;&lt;tt&gt;layoutChanged&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractItemModel.html#layoutAboutToBeChanged()&quot;&gt;&lt;tt&gt;layoutAboutToBeChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#reset()&quot;&gt;&lt;tt&gt;reset&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemModel.html#changePersistentIndex(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;changePersistentIndex&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QAbstractItemModel(com.trolltech.qt.core.QObject parent)" doc="/**
&lt;p&gt;Constructs an abstract item model with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QAbstractItemModel()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="protected final void beginInsertColumns(com.trolltech.qt.core.QModelIndex parent, int first, int last)" doc="/**
&lt;p&gt;Begins a column insertion operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;before&lt;/i&gt; inserting data into the model's underlying data store.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; index corresponds to the parent into which the new columns are inserted; &lt;tt&gt;first&lt;/tt&gt; and &lt;tt&gt;last&lt;/tt&gt; are the column numbers of the new columns will have after they have been inserted.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;80%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-insert-columns.png&quot; alt=&quot;Inserting columns&quot; /&gt;&lt;/td&gt;&lt;td&gt;Specify the first and last column numbers for the span of columns you want to insert into an item in a model.&lt;p&gt;For example, as shown in the diagram, we insert three columns before column 4, so &lt;tt&gt;first&lt;/tt&gt; is 4 and &lt;tt&gt;last&lt;/tt&gt; is 6:&lt;/p&gt;
&lt;pre&gt;    beginInsertColumns(parent, 4, 6);&lt;/pre&gt;
&lt;p&gt;This inserts the three new columns as columns 4, 5, and 6.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-append-columns.png&quot; alt=&quot;Appending columns&quot; /&gt;&lt;/td&gt;&lt;td&gt;To append columns, insert them after the last column.&lt;p&gt;For example, as shown in the diagram, we append three columns to a collection of six existing columns (ending in column 5), so &lt;tt&gt;first&lt;/tt&gt; is 6 and &lt;tt&gt;last&lt;/tt&gt; is 8:&lt;/p&gt;
&lt;pre&gt;    beginInsertColumns(parent, 6, 8);&lt;/pre&gt;
&lt;p&gt;This appends the two new columns as columns 6, 7, and 8.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#endInsertColumns()&quot;&gt;&lt;tt&gt;endInsertColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void beginInsertRows(com.trolltech.qt.core.QModelIndex parent, int first, int last)" doc="/**
&lt;p&gt;Begins a row insertion operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;before&lt;/i&gt; inserting data into the model's underlying data store.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; index corresponds to the parent into which the new rows are inserted; &lt;tt&gt;first&lt;/tt&gt; and &lt;tt&gt;last&lt;/tt&gt; are the row numbers that the new rows will have after they have been inserted.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;80%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-insert-rows.png&quot; alt=&quot;Inserting rows&quot; /&gt;&lt;/td&gt;&lt;td&gt;Specify the first and last row numbers for the span of rows you want to insert into an item in a model.&lt;p&gt;For example, as shown in the diagram, we insert three rows before row 2, so &lt;tt&gt;first&lt;/tt&gt; is 2 and &lt;tt&gt;last&lt;/tt&gt; is 4:&lt;/p&gt;
&lt;pre&gt;    beginInsertRows(parent, 2, 4);&lt;/pre&gt;
&lt;p&gt;This inserts the three new rows as rows 2, 3, and 4.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-append-rows.png&quot; alt=&quot;Appending rows&quot; /&gt;&lt;/td&gt;&lt;td&gt;To append rows, insert them after the last row.&lt;p&gt;For example, as shown in the diagram, we append two rows to a collection of 4 existing rows (ending in row 3), so &lt;tt&gt;first&lt;/tt&gt; is 4 and &lt;tt&gt;last&lt;/tt&gt; is 5:&lt;/p&gt;
&lt;pre&gt;    beginInsertRows(parent, 4, 5);&lt;/pre&gt;
&lt;p&gt;This appends the two new rows as rows 4 and 5.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#endInsertRows()&quot;&gt;&lt;tt&gt;endInsertRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void beginRemoveColumns(com.trolltech.qt.core.QModelIndex parent, int first, int last)" doc="/**
&lt;p&gt;Begins a column removal operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;before&lt;/i&gt; removing data from the model's underlying data store.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; index corresponds to the parent from which the new columns are removed; &lt;tt&gt;first&lt;/tt&gt; and &lt;tt&gt;last&lt;/tt&gt; are the column numbers of the first and last columns to be removed.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;80%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-remove-columns.png&quot; alt=&quot;Removing columns&quot; /&gt;&lt;/td&gt;&lt;td&gt;Specify the first and last column numbers for the span of columns you want to remove from an item in a model.&lt;p&gt;For example, as shown in the diagram, we remove the three columns from column 4 to column 6, so &lt;tt&gt;first&lt;/tt&gt; is 4 and &lt;tt&gt;last&lt;/tt&gt; is 6:&lt;/p&gt;
&lt;pre&gt;    beginRemoveColumns(parent, 4, 6);&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#endRemoveColumns()&quot;&gt;&lt;tt&gt;endRemoveColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void beginRemoveRows(com.trolltech.qt.core.QModelIndex parent, int first, int last)" doc="/**
&lt;p&gt;Begins a row removal operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;before&lt;/i&gt; removing data from the model's underlying data store.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; index corresponds to the parent from which the new rows are removed; &lt;tt&gt;first&lt;/tt&gt; and &lt;tt&gt;last&lt;/tt&gt; are the row numbers of the rows to be removed.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;80%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/modelview-begin-remove-rows.png&quot; alt=&quot;Removing rows&quot; /&gt;&lt;/td&gt;&lt;td&gt;Specify the first and last row numbers for the span of rows you want to remove from an item in a model.&lt;p&gt;For example, as shown in the diagram, we remove the two rows from row 2 to row 3, so &lt;tt&gt;first&lt;/tt&gt; is 2 and &lt;tt&gt;last&lt;/tt&gt; is 3:&lt;/p&gt;
&lt;pre&gt;    beginRemoveRows(parent, 2, 3);&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#endRemoveRows()&quot;&gt;&lt;tt&gt;endRemoveRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void changePersistentIndex(com.trolltech.qt.core.QModelIndex from, com.trolltech.qt.core.QModelIndex to)" doc="/**
&lt;p&gt;Changes the &lt;a href=&quot;QPersistentModelIndex.html&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; that is equal to the given &lt;tt&gt;from&lt;/tt&gt; model index to the given &lt;tt&gt;to&lt;/tt&gt; model index.&lt;/p&gt;
&lt;p&gt;If no persistent model index equal to the given &lt;tt&gt;from&lt;/tt&gt; model index was found, nothing is changed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#persistentIndexList()&quot;&gt;&lt;tt&gt;persistentIndexList&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#changePersistentIndexList(java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt;, java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt;)&quot;&gt;&lt;tt&gt;changePersistentIndexList&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void changePersistentIndexList(java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; from, java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; to)" doc="/**
&lt;p&gt;Changes the QPersistentModelIndexes that is equal to the indexes in the given &lt;tt&gt;from&lt;/tt&gt; model index list to the given &lt;tt&gt;to&lt;/tt&gt; model index list.&lt;/p&gt;
&lt;p&gt;If no persistent model indexes equal to the indexes in the given &lt;tt&gt;from&lt;/tt&gt; model index list was found, nothing is changed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#persistentIndexList()&quot;&gt;&lt;tt&gt;persistentIndexList&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#changePersistentIndex(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;changePersistentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex createIndex(int row, int column, int id)" doc="/**
&lt;p&gt;Creates a model index for the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; with the internal identifier, &lt;tt&gt;id&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function provides a consistent interface that model subclasses must use to create model indexes.&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex createIndex(int row, int column, com.trolltech.qt.QNativePointer data)" doc="/**
&lt;p&gt;Creates a model index for the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; with the internal pointer &lt;tt&gt;data&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that when you are using a &lt;a href=&quot;%2E%2E/gui/QSortFilterProxyModel.html&quot;&gt;&lt;tt&gt;QSortFilterProxyModel&lt;/tt&gt;&lt;/a&gt; its indexes have their own internal pointer. It is not advisable to access the internal pointer in the index outside of the model. Use the &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; function instead.&lt;/p&gt;
&lt;p&gt;This function provides a consistent interface that model subclasses must use to create model indexes.&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex createIndex(int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, 0). */"/>
    <method name="protected final boolean decodeData(int row, int column, com.trolltech.qt.core.QModelIndex parent, com.trolltech.qt.core.QDataStream stream)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="protected final void encodeData(java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; indexes, com.trolltech.qt.core.QDataStream stream)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="protected final void endInsertColumns()" doc="/**
&lt;p&gt;Ends a column insertion operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;after&lt;/i&gt; inserting data into the model's underlying data store.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#beginInsertColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void endInsertRows()" doc="/**
&lt;p&gt;Ends a row insertion operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;after&lt;/i&gt; inserting data into the model's underlying data store.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#beginInsertRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void endRemoveColumns()" doc="/**
&lt;p&gt;Ends a column removal operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;after&lt;/i&gt; removing data from the model's underlying data store.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#beginRemoveColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void endRemoveRows()" doc="/**
&lt;p&gt;Ends a row removal operation.&lt;/p&gt;
&lt;p&gt;When reimplementing &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt; in a subclass, you must call this function &lt;i&gt;after&lt;/i&gt; removing data from the model's underlying data store.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#beginRemoveRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasIndex(int row, int column, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns true if the model returns a valid QModelIndex for &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; with &lt;tt&gt;parent&lt;/tt&gt;, otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean hasIndex(int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#hasIndex(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;hasIndex&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public final boolean insertColumn(int column, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Inserts a single column before the given &lt;tt&gt;column&lt;/tt&gt; in the child items of the &lt;tt&gt;parent&lt;/tt&gt; specified. Returns true if the column is inserted; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean insertColumn(int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#insertColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumn&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public final boolean insertRow(int row, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Inserts a single row before the given &lt;tt&gt;row&lt;/tt&gt; in the child items of the &lt;tt&gt;parent&lt;/tt&gt; specified. Returns true if the row is inserted; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRow&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean insertRow(int row)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#insertRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRow&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="protected final java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; persistentIndexList()" doc="/**
&lt;p&gt;Returns the list of indexes stored as persistent indexes in the model.&lt;/p&gt;
 */"/>
    <method name="public final boolean removeColumn(int column, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Removes the given &lt;tt&gt;column&lt;/tt&gt; from the child items of the &lt;tt&gt;parent&lt;/tt&gt; specified. Returns true if the column is removed; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean removeColumn(int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#removeColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumn&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public final boolean removeRow(int row, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Removes the given &lt;tt&gt;row&lt;/tt&gt; from the child items of the &lt;tt&gt;parent&lt;/tt&gt; specified. Returns true if the row is removed; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRow&lt;/tt&gt;&lt;/a&gt; is a convenience function that calls &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;. The &lt;a href=&quot;QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; implementation of &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt; does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRow&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean removeRow(int row)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRow&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="protected final void reset()" doc="/**
&lt;p&gt;Resets the model to its original state in any attached views.&lt;/p&gt;
&lt;p&gt;When a model is reset it means that any previous data reported from the model is now invalid and has to be queried for again.&lt;/p&gt;
&lt;p&gt;When a model radically changes its data it can sometimes be easier to just call this function rather than emit &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; to inform other components when the underlying data source, or its structure, has changed.&lt;/p&gt;

@see &lt;tt&gt;modelAboutToBeReset&lt;/tt&gt;
@see &lt;tt&gt;modelReset&lt;/tt&gt; */"/>
    <method name="public final void setSupportedDragActions(com.trolltech.qt.core.Qt.DropActions arg__1)" doc="/**
&lt;p&gt;Sets the supported drag &lt;tt&gt;arg__1&lt;/tt&gt; for the items in the model.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#supportedDragActions()&quot;&gt;&lt;tt&gt;supportedDragActions&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex sibling(int row, int column, com.trolltech.qt.core.QModelIndex idx)" doc="/**
&lt;p&gt;Returns the sibling at &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; for the item at &lt;tt&gt;idx&lt;/tt&gt;, or an invalid QModelIndex if there is no sibling at that location.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QAbstractItemModel.html#sibling(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;sibling&lt;/tt&gt;&lt;/a&gt; is just a convenience function that finds the item's parent, and uses it to retrieve the index of the child item in the specified &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;index&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QModelIndex::row&lt;/tt&gt;
@see &lt;tt&gt;QModelIndex::column&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.DropActions supportedDragActions()" doc="/**
&lt;p&gt;Returns the actions supported by the data in this model.&lt;/p&gt;
&lt;p&gt;The default implementation returns &lt;a href=&quot;QAbstractItemModel.html#supportedDropActions()&quot;&gt;&lt;tt&gt;supportedDropActions&lt;/tt&gt;&lt;/a&gt; unless specific values have been set with &lt;a href=&quot;QAbstractItemModel.html#setSupportedDragActions(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;setSupportedDragActions&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QAbstractItemModel.html#supportedDragActions()&quot;&gt;&lt;tt&gt;supportedDragActions&lt;/tt&gt;&lt;/a&gt; is used by QAbstractItemView::startDrag() as the default values when a drag occurs.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#setSupportedDragActions(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;setSupportedDragActions&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DropActions&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QModelIndex buddy(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns a model index for the buddy of the item represented by &lt;tt&gt;index&lt;/tt&gt;. When the user wants to edit an item, the view will call this function to check whether another item in the model should be edited instead, and construct a delegate using the model index returned by the buddy item.&lt;/p&gt;
&lt;p&gt;In the default implementation each item is its own buddy.&lt;/p&gt;
 */"/>
    <method name="public boolean canFetchMore(com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns true if there is more data available for &lt;tt&gt;parent&lt;/tt&gt;, otherwise false.&lt;/p&gt;
&lt;p&gt;The default implementation always returns false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#fetchMore(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;fetchMore&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public abstract int columnCount(com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns the number of columns for the children of the given &lt;tt&gt;parent&lt;/tt&gt;. When the parent is valid it means that &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; is returning the number of children of parent.&lt;/p&gt;
&lt;p&gt;In most subclasses, the number of columns is independent of the &lt;tt&gt;parent&lt;/tt&gt;. For example:&lt;/p&gt;
&lt;pre&gt;    int DomModel::columnCount(const QModelIndex &amp;amp;/*parent*&amp;#47;&lt;/span&gt;) const
    {
        return 3;
    }&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;Tip:&lt;/b&gt; When implementing a table based model, &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; should return 0 when the parent is valid.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int columnCount()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt;(QModelIndex()). */"/>
    <method name="public abstract java.lang.Object data(com.trolltech.qt.core.QModelIndex index, int role)" doc="/**
&lt;p&gt;Returns the data stored under the given &lt;tt&gt;role&lt;/tt&gt; for the item referred to by the &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)&quot;&gt;&lt;tt&gt;headerData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.Object data(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;data&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, Qt::DisplayRole). */"/>
    <method name="public boolean dropMimeData(com.trolltech.qt.gui.QMimeData data, com.trolltech.qt.core.Qt.DropAction action, int row, int column, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Handles the &lt;tt&gt;data&lt;/tt&gt; supplied by a drag and drop operation that ended with the given &lt;tt&gt;action&lt;/tt&gt;. Returns true if the data and action can be handled by the model; otherwise returns false.&lt;/p&gt;
&lt;p&gt;Although the specified &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt; and &lt;tt&gt;parent&lt;/tt&gt; indicate the location of an item in the model where the operation ended, it is the responsibility of the view to provide a suitable location for where the data should be inserted.&lt;/p&gt;
&lt;p&gt;For instance, a drop action on an item in a &lt;a href=&quot;%2E%2E/gui/QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; can result in new items either being inserted as children of the item specified by &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, and &lt;tt&gt;parent&lt;/tt&gt;, or as siblings of the item.&lt;/p&gt;
&lt;p&gt;When row and column are -1 it means that it is up to the model to decide where to place the data. This can occur in a tree when data is dropped on a parent. Models will usually append the data to the parent in this case.&lt;/p&gt;
&lt;p&gt;Returns true if the dropping was successful otherwise false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#supportedDropActions()&quot;&gt;&lt;tt&gt;supportedDropActions&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void fetchMore(com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Fetches any available data for the items with the parent specified by the &lt;tt&gt;parent&lt;/tt&gt; index.&lt;/p&gt;
&lt;p&gt;Reimplement this if you have incremental data.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#canFetchMore(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;canFetchMore&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.Qt.ItemFlags flags(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the item flags for the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The base class implementation returns a combination of flags that enables the item (&lt;tt&gt;ItemIsEnabled&lt;/tt&gt;) and allows it to be selected (&lt;tt&gt;ItemIsSelectable&lt;/tt&gt;).&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemFlags&lt;/tt&gt; */"/>
    <method name="public boolean hasChildren(com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns true if &lt;tt&gt;parent&lt;/tt&gt; has any children; otherwise returns false. Use &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; on the parent to find out the number of children.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#parent(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;index&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasChildren()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#hasChildren(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;hasChildren&lt;/tt&gt;&lt;/a&gt;(QModelIndex()). */"/>
    <method name="public java.lang.Object headerData(int section, com.trolltech.qt.core.Qt.Orientation orientation, int role)" doc="/**
&lt;p&gt;Returns the data for the given &lt;tt&gt;role&lt;/tt&gt; and &lt;tt&gt;section&lt;/tt&gt; in the header with the specified &lt;tt&gt;orientation&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QHeaderView.html&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.Object headerData(int section, com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)&quot;&gt;&lt;tt&gt;headerData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;section&lt;/tt&gt;, &lt;tt&gt;orientation&lt;/tt&gt;, Qt::DisplayRole). */"/>
    <method name="public abstract com.trolltech.qt.core.QModelIndex index(int row, int column, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns the index of the item in the model specified by the given &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt; and &lt;tt&gt;parent&lt;/tt&gt; index.&lt;/p&gt;
&lt;p&gt;When reimplementing this function in a subclass, call &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt; to generate model indexes that other components can use to refer to items in your model.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex index(int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;index&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public boolean insertColumns(int column, int count, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;On models that support this, inserts &lt;tt&gt;count&lt;/tt&gt; new columns into the model before the given &lt;tt&gt;column&lt;/tt&gt;. The items in each new column will be children of the item represented by the &lt;tt&gt;parent&lt;/tt&gt; model index.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;column&lt;/tt&gt; is 0, the columns are prepended to any existing columns. If &lt;tt&gt;column&lt;/tt&gt; is &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt;, the columns are appended to any existing columns. If &lt;tt&gt;parent&lt;/tt&gt; has no children, a single row with &lt;tt&gt;count&lt;/tt&gt; columns is inserted.&lt;/p&gt;
&lt;p&gt;Returns true if the columns were successfully inserted; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing and returns false.&lt;/p&gt;
&lt;p&gt;If you implement your own model, you can reimplement this function if you want to support insertions. Alternatively, you can provide you own API for altering the data.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#beginInsertColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#endInsertColumns()&quot;&gt;&lt;tt&gt;endInsertColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean insertColumns(int column, int count)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;count&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public boolean insertRows(int row, int count, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;On models that support this, inserts &lt;tt&gt;count&lt;/tt&gt; rows into the model before the given &lt;tt&gt;row&lt;/tt&gt;. The items in the new row will be children of the item represented by the &lt;tt&gt;parent&lt;/tt&gt; model index.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;row&lt;/tt&gt; is 0, the rows are prepended to any existing rows in the parent. If &lt;tt&gt;row&lt;/tt&gt; is &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt;, the rows are appended to any existing rows in the parent. If &lt;tt&gt;parent&lt;/tt&gt; has no children, a single column with &lt;tt&gt;count&lt;/tt&gt; rows is inserted.&lt;/p&gt;
&lt;p&gt;Returns true if the rows were successfully inserted; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing and returns false.&lt;/p&gt;
&lt;p&gt;If you implement your own model, you can reimplement this function if you want to support insertions. Alternatively, you can provide you own API for altering the data.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#beginInsertRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginInsertRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#endInsertRows()&quot;&gt;&lt;tt&gt;endInsertRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean insertRows(int row, int count)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertRows&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;count&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public java.util.SortedMap&lt;java.lang.Integer, java.lang.Object&gt; itemData(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns a map with values for all predefined roles in the model for the item at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Reimplemented this function if you want to extend the default behavior of this function to include custom roles in the map.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#setItemData(com.trolltech.qt.core.QModelIndex, java.lang.Object&gt;)&quot;&gt;&lt;tt&gt;setItemData&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; match(com.trolltech.qt.core.QModelIndex start, int role, java.lang.Object value, int hits, com.trolltech.qt.core.Qt.MatchFlags flags)" doc="/**
&lt;p&gt;Returns a list of indexes for the items in the column of the &lt;tt&gt;start&lt;/tt&gt; index where the data stored under the given &lt;tt&gt;role&lt;/tt&gt; matches the specified &lt;tt&gt;value&lt;/tt&gt;. The way the search is performed is defined by the &lt;tt&gt;flags&lt;/tt&gt; given. The list that is returned may be empty.&lt;/p&gt;
&lt;p&gt;The search starts from the &lt;tt&gt;start&lt;/tt&gt; index, and continues until the number of matching data items equals &lt;tt&gt;hits&lt;/tt&gt;, the search reaches the last row, or the search reaches &lt;tt&gt;start&lt;/tt&gt; again, depending on whether &lt;tt&gt;MatchWrap&lt;/tt&gt; is specified in &lt;tt&gt;flags&lt;/tt&gt;. If you want to search for all matching items, use &lt;tt&gt;hits&lt;/tt&gt; = -1.&lt;/p&gt;
&lt;p&gt;By default, this function will perform a wrapping, string-based comparison on all items, searching for items that begin with the search term specified by &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; The default implementation of this function only searches columns, This function can be reimplemented to include other search behavior.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; match(com.trolltech.qt.core.QModelIndex start, int role, java.lang.Object value, int hits)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;match&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;start&lt;/tt&gt;, &lt;tt&gt;role&lt;/tt&gt;, &lt;tt&gt;value&lt;/tt&gt;, &lt;tt&gt;hits&lt;/tt&gt;, Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap )). */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; match(com.trolltech.qt.core.QModelIndex start, int role, java.lang.Object value)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;match&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;start&lt;/tt&gt;, &lt;tt&gt;role&lt;/tt&gt;, &lt;tt&gt;value&lt;/tt&gt;, 1, Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap )). */"/>
    <method name="public com.trolltech.qt.gui.QMimeData mimeData(java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; indexes)" doc="/**
&lt;p&gt;Returns an object that contains serialized items of data corresponding to the list of &lt;tt&gt;indexes&lt;/tt&gt; specified. The formats used to describe the encoded data is obtained from the &lt;a href=&quot;QAbstractItemModel.html#mimeTypes()&quot;&gt;&lt;tt&gt;mimeTypes&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;If the list of indexes is empty, or there are no supported MIME types, 0 is returned rather than a serialized empty list.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#mimeTypes()&quot;&gt;&lt;tt&gt;mimeTypes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dropMimeData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.util.List&lt;java.lang.String&gt; mimeTypes()" doc="/**
&lt;p&gt;Returns a list of MIME types that can be used to describe a list of model indexes.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#mimeData(java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt;)&quot;&gt;&lt;tt&gt;mimeData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public abstract com.trolltech.qt.core.QModelIndex parent(com.trolltech.qt.core.QModelIndex child)" doc="/**
&lt;p&gt;Returns the parent of the model item with the given &lt;tt&gt;child&lt;/tt&gt;, or QModelIndex() if it has no parent.&lt;/p&gt;
&lt;p&gt;A common convention used in models that expose tree data structures is that only items in the first column have children. When reimplementing this function in a subclass that provides a tree model, you should return a model index corresponding to an item in the first column by calling &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt; with a value of 0 for the column number.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)&quot;&gt;&lt;tt&gt;createIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean removeColumns(int column, int count, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;On models that support this, removes &lt;tt&gt;count&lt;/tt&gt; columns starting with the given &lt;tt&gt;column&lt;/tt&gt; under parent &lt;tt&gt;parent&lt;/tt&gt; from the model. Returns true if the columns were successfully removed; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing and returns false.&lt;/p&gt;
&lt;p&gt;If you implement your own model, you can reimplement this function if you want to support removing. Alternatively, you can provide you own API for altering the data.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#removeColumn(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#beginRemoveColumns(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#endRemoveColumns()&quot;&gt;&lt;tt&gt;endRemoveColumns&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean removeColumns(int column, int count)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;count&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public boolean removeRows(int row, int count, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;On models that support this, removes &lt;tt&gt;count&lt;/tt&gt; rows starting with the given &lt;tt&gt;row&lt;/tt&gt; under parent &lt;tt&gt;parent&lt;/tt&gt; from the model. Returns true if the rows were successfully removed; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing and returns false.&lt;/p&gt;
&lt;p&gt;If you implement your own model, you can reimplement this function if you want to support removing. Alternatively, you can provide you own API for altering the data.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;insertColumns&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#beginRemoveRows(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;beginRemoveRows&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#endRemoveRows()&quot;&gt;&lt;tt&gt;endRemoveRows&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean removeRows(int row, int count)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;removeRows&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;count&lt;/tt&gt;, QModelIndex()). */"/>
    <method name="public void revert()" doc="/**
&lt;p&gt;Called to let the model know that it should discard whatever it has cached. Typically used for row editing.&lt;/p&gt;
 */"/>
    <method name="public abstract int rowCount(com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns the number of rows under the given &lt;tt&gt;parent&lt;/tt&gt;. When the parent is valid it means that &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; is returning the number of children of parent.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Tip:&lt;/b&gt; When implementing a table based model, &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; should return 0 when the parent is valid.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int rowCount()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt;(QModelIndex()). */"/>
    <method name="public boolean setData(com.trolltech.qt.core.QModelIndex index, java.lang.Object value, int role)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;role&lt;/tt&gt; data for the item at &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;value&lt;/tt&gt;. Returns true if successful; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; signal should be emitted if the data was successfully set.&lt;/p&gt;
&lt;p&gt;The base class implementation returns false. This function and &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; must be reimplemented for editable models. Note that the &lt;a href=&quot;QAbstractItemModel.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; signal must be emitted explicitly when reimplementing this function.&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#itemData(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean setData(com.trolltech.qt.core.QModelIndex index, java.lang.Object value)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, &lt;tt&gt;value&lt;/tt&gt;, Qt::EditRole). */"/>
    <method name="public boolean setHeaderData(int section, com.trolltech.qt.core.Qt.Orientation orientation, java.lang.Object value, int role)" doc="/**
&lt;p&gt;Sets the data for the given &lt;tt&gt;role&lt;/tt&gt; and &lt;tt&gt;section&lt;/tt&gt; in the header with the specified &lt;tt&gt;orientation&lt;/tt&gt; to the &lt;tt&gt;value&lt;/tt&gt; supplied. Returns true if the header's data was updated; otherwise returns false.&lt;/p&gt;
&lt;p&gt;Note that the &lt;a href=&quot;QAbstractItemModel.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt; signal must be emitted explicitly when reimplementing this function.&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)&quot;&gt;&lt;tt&gt;headerData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean setHeaderData(int section, com.trolltech.qt.core.Qt.Orientation orientation, java.lang.Object value)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setHeaderData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;section&lt;/tt&gt;, &lt;tt&gt;orientation&lt;/tt&gt;, &lt;tt&gt;value&lt;/tt&gt;, Qt::EditRole). */"/>
    <method name="public boolean setItemData(com.trolltech.qt.core.QModelIndex index, java.lang.Object&gt; roles)" doc="/**
&lt;p&gt;For every Qt::ItemDataRole in &lt;tt&gt;roles&lt;/tt&gt;, sets the role data for the item at &lt;tt&gt;index&lt;/tt&gt; to the associated value in &lt;tt&gt;roles&lt;/tt&gt;. Returns true if successful; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemModel.html#itemData(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void sort(int column, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;Sorts the model by &lt;tt&gt;column&lt;/tt&gt; in the given &lt;tt&gt;order&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing.&lt;/p&gt;
 */"/>
    <method name="public final void sort(int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemModel.html#sort(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;sort&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, Qt::AscendingOrder). */"/>
    <method name="public com.trolltech.qt.core.QSize span(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the row and column span of the item represented by &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note: span is not used currently, but will be in the future.&lt;/p&gt;
 */"/>
    <method name="public boolean submit()" doc="/**
&lt;p&gt;Called to let the model know that it should submit whatever it has cached to the permanent storage. Typically used for row editing.&lt;/p&gt;
&lt;p&gt;Returns false on error, otherwise true.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.Qt.DropActions supportedDropActions()" doc="/**
&lt;p&gt;Returns the drop actions supported by this model.&lt;/p&gt;
&lt;p&gt;The default implementation returns Qt::CopyAction. Reimplement this function if you wish to support additional actions. Note that you must also reimplement the &lt;a href=&quot;QAbstractItemModel.html#dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dropMimeData&lt;/tt&gt;&lt;/a&gt; function to handle the additional operations.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemModel.html#dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dropMimeData&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DropActions&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt; */"/>
</class>